diff options
Diffstat (limited to 'sysdeps/powerpc/fpu/round_to_integer.h')
-rw-r--r-- | sysdeps/powerpc/fpu/round_to_integer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/powerpc/fpu/round_to_integer.h b/sysdeps/powerpc/fpu/round_to_integer.h index c70afbb10f..ff77dde394 100644 --- a/sysdeps/powerpc/fpu/round_to_integer.h +++ b/sysdeps/powerpc/fpu/round_to_integer.h @@ -23,7 +23,8 @@ enum round_mode { - CEIL + CEIL, + FLOOR }; static inline void @@ -33,6 +34,7 @@ set_fenv_mode (enum round_mode mode) switch (mode) { case CEIL: rmode = FE_UPWARD; break; + case FLOOR: rmode = FE_DOWNWARD; break; default: rmode = FE_TONEAREST; break; } __fesetround_inline_nocheck (rmode); |