about summary refs log tree commit diff
path: root/arch/s390x/bits/fenv.h
blob: 773dad91511d3baa3126449dbb6242b5b6d0c88e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define FE_TONEAREST	0
#define FE_TOWARDZERO	1
#define FE_UPWARD	2
#define FE_DOWNWARD	3

#define FE_INEXACT	0x00080000
#define FE_UNDERFLOW	0x00100000
#define FE_OVERFLOW	0x00200000
#define FE_DIVBYZERO	0x00400000
#define FE_INVALID	0x00800000

#define FE_ALL_EXCEPT	0x00f80000

typedef unsigned fexcept_t;
typedef unsigned fenv_t;

#define FE_DFL_ENV ((const fenv_t *)-1)