diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-12-15 00:49:09 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-12-15 00:49:09 -0500 |
commit | 969ddbc423238291d5c7982790bbe72720627ba4 (patch) | |
tree | 54fb3d0a0ddb08549af2704be5dff2ad5dfb1c22 /src/math/__rem_pio2f.c | |
parent | 9cb589939cdbfb2fe273bef3fe557a9a162ddd73 (diff) | |
parent | a8f73bb1a685dd7d67669c6f6ceb255cfa967790 (diff) | |
download | musl-969ddbc423238291d5c7982790bbe72720627ba4.tar.gz |
Merge remote-tracking branch 'nsz/math'
Diffstat (limited to 'src/math/__rem_pio2f.c')
-rw-r--r-- | src/math/__rem_pio2f.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/__rem_pio2f.c b/src/math/__rem_pio2f.c index 965dc46a..198ee91b 100644 --- a/src/math/__rem_pio2f.c +++ b/src/math/__rem_pio2f.c @@ -24,7 +24,7 @@ /* * invpio2: 53 bits of 2/pi - * pio2_1: first 33 bit of pi/2 + * pio2_1: first 25 bits of pi/2 * pio2_1t: pi/2 - pio2_1 */ static const double @@ -41,7 +41,7 @@ int __rem_pio2f(float x, double *y) GET_FLOAT_WORD(hx, x); ix = hx & 0x7fffffff; - /* 33+53 bit pi is good enough for medium size */ + /* 25+53 bit pi is good enough for medium size */ if (ix < 0x4dc90fdb) { /* |x| ~< 2^28*(pi/2), medium size */ /* Use a specialized rint() to get fn. Assume round-to-nearest. */ STRICT_ASSIGN(double, fn, x*invpio2 + 0x1.8p52); |