2010-02-09 07:09:28 +01:00
|
|
|
#ifndef _FENV_H
|
|
|
|
#define _FENV_H
|
|
|
|
|
2019-03-30 21:54:01 +01:00
|
|
|
#if defined(__i386__)
|
2010-02-09 07:09:28 +01:00
|
|
|
# include <arch/x86/fenv.h>
|
2012-07-27 16:21:41 +02:00
|
|
|
#elif defined(__x86_64__)
|
2010-05-11 21:40:06 +02:00
|
|
|
# include <arch/x86_64/fenv.h>
|
2018-08-01 02:12:18 +02:00
|
|
|
#elif defined(__arm__)
|
2010-02-09 07:09:28 +01:00
|
|
|
# include <arch/arm/fenv.h>
|
2019-08-30 20:10:12 +02:00
|
|
|
#elif defined(__aarch64__)
|
|
|
|
# include <arch/arm64/fenv.h>
|
2010-02-09 07:09:28 +01:00
|
|
|
#elif defined(__POWERPC__)
|
|
|
|
# include <arch/ppc/fenv.h>
|
2021-08-28 16:11:57 +02:00
|
|
|
#elif (defined(__riscv) && __riscv_xlen == 64)
|
2020-01-28 02:59:50 +01:00
|
|
|
# include <arch/riscv64/fenv.h>
|
2020-01-19 15:43:27 +01:00
|
|
|
#elif defined(__sparc__)
|
|
|
|
# include <arch/sparc64/fenv.h>
|
2020-01-22 02:25:46 +01:00
|
|
|
#elif defined(__M68K__)
|
|
|
|
# include <arch/m68k/fenv.h>
|
2010-02-09 07:09:28 +01:00
|
|
|
#else
|
|
|
|
# error There is no fenv.h for this architecture!
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _FENV_H */
|
|
|
|
|