xref: /freebsd/lib/libc/arm/arith.h (revision 9162f64b58d01ec01481d60b6cdc06ffd8e8c7fc)
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__)
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