2015-01-09 14:11:11 +01:00
|
|
|
#ifdef OPENLIBM_USE_HOST_FENV_H
|
|
|
|
#include <fenv.h>
|
|
|
|
#else /* !OPENLIBM_USE_HOST_FENV_H */
|
|
|
|
|
2016-04-08 19:37:13 +02:00
|
|
|
#if defined(__aarch64__) || defined(__arm__)
|
2015-01-10 10:21:57 +01:00
|
|
|
#include <openlibm_fenv_arm.h>
|
2015-01-09 13:00:48 +01:00
|
|
|
#elif defined(__x86_64__)
|
2015-01-10 10:21:57 +01:00
|
|
|
#include <openlibm_fenv_amd64.h>
|
2015-01-09 13:00:48 +01:00
|
|
|
#elif defined(__i386__)
|
2015-01-10 10:21:57 +01:00
|
|
|
#include <openlibm_fenv_i387.h>
|
2016-02-22 11:53:57 +01:00
|
|
|
#elif defined(__powerpc__)
|
|
|
|
#include <openlibm_fenv_powerpc.h>
|
2017-01-24 17:19:33 +01:00
|
|
|
#elif defined(__mips__)
|
|
|
|
#include <openlibm_fenv_mips.h>
|
2016-09-05 14:14:14 +02:00
|
|
|
#elif defined(__s390__)
|
|
|
|
#include <openlibm_fenv_s390.h>
|
2020-10-24 12:44:48 +02:00
|
|
|
#elif defined(__sh3__)
|
|
|
|
#include <openlibm_fenv_sh3eb.h>
|
2015-01-09 13:00:48 +01:00
|
|
|
#else
|
|
|
|
#error "Unsupported platform"
|
|
|
|
#endif
|
2015-01-09 14:11:11 +01:00
|
|
|
|
|
|
|
#endif /* OPENLIBM_USE_HOST_FENV_H */
|