Skip to content

Commit 5ce7c1b

Browse files
authored
chore: explicit typecast to float in benchmark.c
1 parent de64597 commit 5ce7c1b

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/cceilf/benchmark/c/native

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/cceilf/benchmark/c/native/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ static double tic( void ) {
8383
*/
8484
static float rand_float( void ) {
8585
int r = rand();
86-
return (float)r / ( (float)RAND_MAX + 1.0 );
86+
return (float)r / ( (float)RAND_MAX + 1.0f );
8787
}
8888

8989
/**

0 commit comments

Comments
 (0)