Skip to content

Commit ab057bd

Browse files
committed
Update comment.
1 parent ba33556 commit ab057bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/math/generic/log1p.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ LLVM_LIBC_FUNCTION(double, log1p, (double x)) {
974974
constexpr double ERR_HI[2] = {0x1.0p-85, 0.0};
975975
double err_hi = ERR_HI[hi == 0.0];
976976

977-
// Scaling factor = 2^(-xh_bits.get_exponent())
977+
// Scale x_dd by 2^(-xh_bits.get_exponent()).
978978
int64_t s_u = static_cast<int64_t>(x_u & FPBits_t::EXP_MASK) -
979979
(static_cast<int64_t>(EXP_BIAS) << FRACTION_LEN);
980980
// Normalize arguments:

0 commit comments

Comments
 (0)