X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2F__rem_pio2f.c;fp=src%2Fmath%2F__rem_pio2f.c;h=965dc46ac53a01b0a5dc05b4a2d82efda6f23ad5;hp=7fa502948a8da3bc0f8d7d4ab56fa63e170941f3;hb=0498709e07bf9dd0546a61220cd2a27fcd186ce0;hpb=da2f1654bc418e800e8dce3e2caf80d36692e0b5 diff --git a/src/math/__rem_pio2f.c b/src/math/__rem_pio2f.c index 7fa5029..965dc46 100644 --- a/src/math/__rem_pio2f.c +++ b/src/math/__rem_pio2f.c @@ -17,7 +17,7 @@ * * return the remainder of x rem pi/2 in *y * use double precision for everything except passing x - * use __rem_pio2_slow() for large x + * use __rem_pio2_large() for large x */ #include "libm.h" @@ -68,7 +68,7 @@ int __rem_pio2f(float x, double *y) e0 = (ix>>23) - 150; /* e0 = ilogb(|x|)-23; */ SET_FLOAT_WORD(z, ix - ((int32_t)(e0<<23))); tx[0] = z; - n = __rem_pio2_slow(tx,ty,e0,1,0); + n = __rem_pio2_large(tx,ty,e0,1,0); if (hx < 0) { *y = -ty[0]; return -n;