2010-02-09 06:09:28 +00:00
|
|
|
#ifndef _FENV_H
|
|
|
|
#define _FENV_H
|
|
|
|
|
2019-03-30 16:54:01 -04:00
|
|
|
#if defined(__i386__)
|
2010-02-09 06:09:28 +00:00
|
|
|
# include <arch/x86/fenv.h>
|
2012-07-27 15:21:41 +01:00
|
|
|
#elif defined(__x86_64__)
|
2010-05-11 19:40:06 +00:00
|
|
|
# include <arch/x86_64/fenv.h>
|
2018-07-31 19:12:18 -05:00
|
|
|
#elif defined(__arm__)
|
2010-02-09 06:09:28 +00: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 06:09:28 +00:00
|
|
|
#elif defined(__POWERPC__)
|
|
|
|
# include <arch/ppc/fenv.h>
|
2021-08-28 09:11:57 -05:00
|
|
|
#elif (defined(__riscv) && __riscv_xlen == 64)
|
2020-01-27 19:59:50 -06: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 06:09:28 +00:00
|
|
|
#else
|
|
|
|
# error There is no fenv.h for this architecture!
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _FENV_H */
|
|
|
|
|