diff options
author | cognet <cognet@FreeBSD.org> | 2005-01-24 00:35:02 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-01-24 00:35:02 +0000 |
commit | fa9ea538054b5c480f1a3746b08b9dd3a4c7042d (patch) | |
tree | 4df45688c1d4f22275ff1e0c19a5569269b7fe4f /lib | |
parent | 0098f30d189c86b04152009ffae05923045fb70d (diff) | |
download | FreeBSD-src-fa9ea538054b5c480f1a3746b08b9dd3a4c7042d.zip FreeBSD-src-fa9ea538054b5c480f1a3746b08b9dd3a4c7042d.tar.gz |
Define FE_TONEAREST, FE_TOWARDZERO, FE_UPWARD, FE_DOWNWARD and _ROUND_MASK to
unbreak the build for arm.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/msun/arm/fenv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/msun/arm/fenv.h b/lib/msun/arm/fenv.h index 7f93b15..0a99432 100644 --- a/lib/msun/arm/fenv.h +++ b/lib/msun/arm/fenv.h @@ -43,6 +43,13 @@ typedef __uint32_t fexcept_t; #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW) +/* Rounding modes */ +#define FE_TONEAREST 0x0000 +#define FE_TOWARDZERO 0x0001 +#define FE_UPWARD 0x0002 +#define FE_DOWNWARD 0x0003 +#define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ + FE_UPWARD | FE_TOWARDZERO) __BEGIN_DECLS /* Default floating-point environment */ |