Skip to content

Commit d978c43

Browse files
authored
Update main.c
Signed-off-by: Gunj Joshi <[email protected]>
1 parent 80a4f21 commit d978c43

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/log1p/src

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/log1p/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ double stdlib_base_log1p( const double x ) {
311311
}
312312
// Apply a bit mask (0 00000000000 11111111111111111111) to remove the exponent:
313313
hu &= 0x000fffff; // max value => 0x000fffff => 1048575
314-
314+
315315
// The approximation to sqrt(2) used in thresholds is not critical. However, the ones used above must give less strict bounds than the one here so that the k==0 case is never reached from here, since here we have committed to using the correction term but don't use it if k==0.
316316

317317
// Check if u significand is less than sqrt(2) significand => 0x6a09e => 01101010000010011110

0 commit comments

Comments
 (0)