OpenLibm/include/openlibm_fenv.h

24 lines
592 B
C
Raw Normal View History

#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__)
#include <openlibm_fenv_arm.h>
#elif defined(__x86_64__)
#include <openlibm_fenv_amd64.h>
#elif defined(__i386__)
#include <openlibm_fenv_i387.h>
#elif defined(__powerpc__)
#include <openlibm_fenv_powerpc.h>
#elif defined(__mips__)
#include <openlibm_fenv_mips.h>
2016-09-05 14:14:14 +02:00
#elif defined(__s390__)
#include <openlibm_fenv_s390.h>
#elif defined(__sh3__)
#include <openlibm_fenv_sh3eb.h>
#else
#error "Unsupported platform"
#endif
#endif /* OPENLIBM_USE_HOST_FENV_H */