Skip to content

Commit 5b04e9d

Browse files
Update lib/node_modules/@stdlib/math/base/special/lcmf/benchmark/c/benchmark.c
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
1 parent 76b8ae9 commit 5b04e9d

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/lcmf/benchmark/c

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/math/base/special/lcmf/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ static double tic( void ) {
7979
*
8080
* @return random integer
8181
*/
82-
static double rand_double( void ) {
82+
static float rand_float( void ) {
8383
int r = rand();
84-
return (double)r / ( (double)RAND_MAX + 1.0 );
84+
return (float)r / ( (float)RAND_MAX + 1.0f );
8585
}
8686

8787
/**

0 commit comments

Comments
 (0)