xref: /haiku/headers/posix/fenv.h (revision 2de6164042b652de21b30f8b8ec1e5d22e9b4488)
138ecc1a7SArtur Wyszynski #ifndef _FENV_H
238ecc1a7SArtur Wyszynski #define _FENV_H
338ecc1a7SArtur Wyszynski 
45ffbe7d7SAugustin Cavalier #if defined(__i386__)
538ecc1a7SArtur Wyszynski #  include <arch/x86/fenv.h>
63fde5350SAlex Smith #elif defined(__x86_64__)
797901ec5SIngo Weinhold #  include <arch/x86_64/fenv.h>
89642f770SAlexander von Gluck IV #elif defined(__arm__)
938ecc1a7SArtur Wyszynski #  include <arch/arm/fenv.h>
101f52c921SJaroslaw Pelczar #elif defined(__aarch64__)
111f52c921SJaroslaw Pelczar #  include <arch/arm64/fenv.h>
1238ecc1a7SArtur Wyszynski #elif defined(__POWERPC__)
1338ecc1a7SArtur Wyszynski #  include <arch/ppc/fenv.h>
14*2de61640SAdrien Destugues #elif defined(__sparc__)
15*2de61640SAdrien Destugues #  include <arch/sparc64/fenv.h>
1638ecc1a7SArtur Wyszynski #else
1738ecc1a7SArtur Wyszynski #  error There is no fenv.h for this architecture!
1838ecc1a7SArtur Wyszynski #endif
1938ecc1a7SArtur Wyszynski 
2038ecc1a7SArtur Wyszynski #endif /* _FENV_H */
2138ecc1a7SArtur Wyszynski 
22