xref: /freebsd/lib/libc/arm/arith.h (revision 72143e89bb430c3b1406b399b810806904f6c882)
1 /*
2  * MD header for contrib/gdtoa
3  *
4  * $FreeBSD$
5  */
6 
7 /*
8  * NOTE: The definitions in this file must be correct or strtod(3) and
9  * floating point formats in printf(3) will break!  The file can be
10  * generated by running contrib/gdtoa/arithchk.c on the target
11  * architecture.  See contrib/gdtoa/gdtoaimp.h for details.
12  */
13 
14 #if !defined(__ARMEB__) && (defined(__VFP_FP__) || defined(__ARM_EABI__))
15 #define IEEE_8087
16 #define Arith_Kind_ASL 1
17 #define Sudden_Underflow
18 #else
19 #define IEEE_MC68k
20 #define Arith_Kind_ASL 2
21 #endif
22