xref: /haiku/headers/posix/fenv.h (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1 #ifndef _FENV_H
2 #define _FENV_H
3 
4 #if defined(__i386__)
5 #  include <arch/x86/fenv.h>
6 #elif defined(__x86_64__)
7 #  include <arch/x86_64/fenv.h>
8 #elif defined(__arm__)
9 #  include <arch/arm/fenv.h>
10 #elif defined(__aarch64__)
11 #  include <arch/arm64/fenv.h>
12 #elif defined(__POWERPC__)
13 #  include <arch/ppc/fenv.h>
14 #elif (defined(__riscv) && __riscv_xlen == 64)
15 #  include <arch/riscv64/fenv.h>
16 #elif defined(__sparc__)
17 #  include <arch/sparc64/fenv.h>
18 #elif defined(__M68K__)
19 #  include <arch/m68k/fenv.h>
20 #else
21 #  error There is no fenv.h for this architecture!
22 #endif
23 
24 #endif /* _FENV_H */
25 
26