File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/node_modules/@stdlib/math/base/special/lnf/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,14 +139,14 @@ float stdlib_base_lnf( const float x ) {
139
139
return ( xc + xc );
140
140
}
141
141
k += ( ( ix >> 23 ) - STDLIB_CONSTANT_FLOAT32_EXPONENT_BIAS );
142
- ix &= STDLIB_CONSTANT_FLOAT_SIGNIFICAND_MASK ;
142
+ ix &= STDLIB_CONSTANT_FLOAT32_SIGNIFICAND_MASK ;
143
143
i = ( ix + ( 0x95f64 << 3 ) ) & 0x800000 ;
144
144
// normalize x or x/2
145
145
stdlib_base_float32_from_word ( (uint32_t )( ix | ( i ^ 0x3f800000 ) ), & xc );
146
146
k += ( i >> 23 );
147
147
f = ( xc - 1.0f );
148
148
// -2**-9 <= f < 2**-9
149
- if ( ( STDLIB_CONSTANT_FLOAT_SIGNIFICAND_MASK & ( 0x8000 + ix ) ) < 0xc000 ) {
149
+ if ( ( STDLIB_CONSTANT_FLOAT32_SIGNIFICAND_MASK & ( 0x8000 + ix ) ) < 0xc000 ) {
150
150
if ( f == 0.0f ) {
151
151
if ( k == 0 ) {
152
152
return 0.0f ;
You can’t perform that action at this time.
0 commit comments