]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/arch/s390x/bits/fenv.h
WASI libc prototype implementation.
[wasi-libc.git] / libc-top-half / musl / arch / s390x / bits / fenv.h
1 #define FE_TONEAREST 0
2 #define FE_TOWARDZERO 1
3 #define FE_UPWARD 2
4 #define FE_DOWNWARD 3
5
6 #define FE_INEXACT 0x00080000
7 #define FE_UNDERFLOW 0x00100000
8 #define FE_OVERFLOW 0x00200000
9 #define FE_DIVBYZERO 0x00400000
10 #define FE_INVALID 0x00800000
11
12 #define FE_ALL_EXCEPT 0x00f80000
13
14 typedef unsigned fexcept_t;
15 typedef unsigned fenv_t;
16
17 #define FE_DFL_ENV ((const fenv_t *)-1)