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 a713284 commit ed05d9cCopy full SHA for ed05d9c
lib/node_modules/@stdlib/math/base/special/ldexp/examples/c/example.c
@@ -47,7 +47,7 @@ int main( void ) {
47
// Generate a random number:
48
frac = rand_double() * 10.0;
49
exp = (int32_t)( rand_double()*616.0 ) - 308;
50
- x = sign * frac * pow( 10.0, exp );
+ x = sign * frac * stdlib_base_pow( 10.0, exp );
51
52
// Break the number into a normalized fraction and an integer power of two:
53
stdlib_base_frexp( x, &frac, &exp );
0 commit comments