We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca173bd commit 0a221ceCopy full SHA for 0a221ce
lib/node_modules/@stdlib/math/base/special/lucasf/benchmark/c/native/benchmark.c
@@ -98,7 +98,7 @@ static double benchmark( void ) {
98
99
t = tic();
100
for ( i = 0; i < ITERATIONS; i++ ) {
101
- x = (int32_t)( 34.0f * rand_double() );
+ x = (int32_t)( 34.0f * rand_float() );
102
y = stdlib_base_lucasf( x );
103
if ( y != y ) {
104
printf( "should not return NaN\n" );
0 commit comments