Skip to content

Commit b15580b

Browse files
committed
Address comment.
1 parent c3634c8 commit b15580b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/src/math/generic/asin_utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ constexpr double ASIN_COEFFS[9][12] = {
165165
LIBC_INLINE DoubleDouble asin_eval(const DoubleDouble &u, unsigned &idx,
166166
double &err) {
167167
using fputil::multiply_add;
168-
// k = round(u * 64).
168+
// k = round(u * 32).
169169
double k = fputil::nearest_integer(u.hi * 0x1.0p5);
170170
idx = static_cast<unsigned>(k);
171-
// y = u - k/64.
171+
// y = u - k/32.
172172
double y_hi = multiply_add(k, -0x1.0p-5, u.hi); // Exact
173173
DoubleDouble y = fputil::exact_add(y_hi, u.lo);
174174
double y2 = y.hi * y.hi;

0 commit comments

Comments
 (0)