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 e8d2601 commit a45a91aCopy full SHA for a45a91a
lib/node_modules/@stdlib/math/base/special/log2f/mainfest.json renamed to lib/node_modules/@stdlib/math/base/special/log2f/manifest.json
lib/node_modules/@stdlib/math/base/special/log2f/src/main.c
@@ -111,6 +111,7 @@ float stdlib_base_log2f( const float x ) {
111
112
hi = f - hfsq;
113
stdlib_base_float32_to_word( hi, &hx );
114
+ stdlib_base_float32_from_word( hx& STDLIB_CONSTANT_FLOAT64_HIGH_WORD_ABS_MASK, &hi );
115
lo = ( f - hi ) - hfsq + R;
116
return ( ( lo + hi ) * IVLN2LO ) + ( lo * IVLN2HI ) + ( hi * IVLN2HI ) + y;
117
}
0 commit comments