fenv.h\bits\powerpc\arch - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/arch/powerpc/bits/fenv.h
blob: 5b15c69a3a509ccddbbc4cb4d10e13c90b440e9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#if defined(_SOFT_FLOAT) || defined(__NO_FPRS__)
#define FE_ALL_EXCEPT 0
#define FE_TONEAREST 0
#else
#define FE_TONEAREST	0
#define FE_TOWARDZERO	1
#define FE_UPWARD	2
#define FE_DOWNWARD	3
#define FE_INEXACT	0x02000000
#define FE_DIVBYZERO	0x04000000
#define FE_UNDERFLOW	0x08000000
#define FE_OVERFLOW	0x10000000
#define FE_INVALID	0x20000000
#define FE_ALL_EXCEPT	0x3e000000
#ifdef _GNU_SOURCE
#define FE_INVALID_SNAN		0x01000000
#define FE_INVALID_ISI		0x00800000
#define FE_INVALID_IDI		0x00400000
#define FE_INVALID_ZDZ		0x00200000
#define FE_INVALID_IMZ		0x00100000
#define FE_INVALID_COMPARE	0x00080000
#define FE_INVALID_SOFTWARE	0x00000400
#define FE_INVALID_SQRT		0x00000200
#define FE_INVALID_INTEGER_CONVERSION	0x00000100
#define FE_ALL_INVALID		0x01f80700
#endif
#endif
typedef unsigned fexcept_t;
typedef double fenv_t;
#define FE_DFL_ENV ((const fenv_t *)-1)
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月04日 02:12:05 +0000

AltStyle によって変換されたページ (->オリジナル) /