xref: /haiku/headers/posix/fenv.h (revision 15fb7d88e971c4d6c787c6a3a5c159afb1ebf77b)
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*15fb7d88SAlexander von Gluck IV #elif defined(__riscv64__)
15*15fb7d88SAlexander von Gluck IV #  include <arch/riscv64/fenv.h>
162de61640SAdrien Destugues #elif defined(__sparc__)
172de61640SAdrien Destugues #  include <arch/sparc64/fenv.h>
1838ecc1a7SArtur Wyszynski #else
1938ecc1a7SArtur Wyszynski #  error There is no fenv.h for this architecture!
2038ecc1a7SArtur Wyszynski #endif
2138ecc1a7SArtur Wyszynski 
2238ecc1a7SArtur Wyszynski #endif /* _FENV_H */
2338ecc1a7SArtur Wyszynski 
24