Tue Ly 92bc7f5428 [libc][math] Update range reduction step for log2f and improve its performance.
Simplify the range reduction steps by choosing the reduction constants
carefully so that the reduced arguments v = r*m_x - 1 and v^2 are exact in double
precision, even without FMA instructions, and -2^-8 <= v < 2^-7.

Reviewed By: zimmermann6

Differential Revision: https://reviews.llvm.org/D147759
2023-04-11 09:43:23 -04:00
..
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2021-12-07 10:49:47 -08:00
2023-03-28 20:24:20 +00:00