Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
5dc33287
Commit
5dc33287
authored
Jan 18, 2020
by
Matthieu Schaller
Browse files
Applied code formatting tool.
parent
0edc7d11
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/testCbrt.c
View file @
5dc33287
...
...
@@ -51,7 +51,7 @@ int main(int argc, char *argv[]) {
/* Create and fill an array of floats. */
float
*
data
;
posix_memalign
((
void
**
)
&
data
,
64
,
num_vals
*
sizeof
(
float
));
posix_memalign
((
void
**
)
&
data
,
64
,
num_vals
*
sizeof
(
float
));
for
(
int
k
=
0
;
k
<
num_vals
;
k
++
)
{
data
[
k
]
=
(
float
)
rand
()
/
RAND_MAX
;
data
[
k
]
=
(
1
.
0
f
-
data
[
k
])
*
range_min
+
data
[
k
]
*
range_max
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment