diff options
Diffstat (limited to 'sysdeps/ieee754/flt-32/s_remquof.c')
-rw-r--r-- | sysdeps/ieee754/flt-32/s_remquof.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/flt-32/s_remquof.c b/sysdeps/ieee754/flt-32/s_remquof.c index a9cdf8fb98..04944fdcd3 100644 --- a/sysdeps/ieee754/flt-32/s_remquof.c +++ b/sysdeps/ieee754/flt-32/s_remquof.c @@ -59,12 +59,12 @@ __remquof (float x, float y, int *quo) y = fabsf (y); cquo = 0; - if (x >= 4 * y) + if (hy <= 0x7e7fffff && x >= 4 * y) { x -= 4 * y; cquo += 4; } - if (x >= 2 * y) + if (hy <= 0x7effffff && x >= 2 * y) { x -= 2 * y; cquo += 2; |