diff options
Diffstat (limited to 'lib/libc/arm/arith.h')
-rw-r--r-- | lib/libc/arm/arith.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/libc/arm/arith.h b/lib/libc/arm/arith.h new file mode 100644 index 000000000000..5e2e3891dd91 --- /dev/null +++ b/lib/libc/arm/arith.h @@ -0,0 +1,21 @@ +/* + * MD header for contrib/gdtoa + * + * $FreeBSD$ + */ + +/* + * NOTE: The definitions in this file must be correct or strtod(3) and + * floating point formats in printf(3) will break! The file can be + * generated by running contrib/gdtoa/arithchk.c on the target + * architecture. See contrib/gdtoa/gdtoaimp.h for details. + */ + +#if !defined(__ARMEB__) && (defined(__VFP_FP__) || defined(__ARM_EABI__)) +#define IEEE_8087 +#define Arith_Kind_ASL 1 +#define Sudden_Underflow +#else +#define IEEE_MC68k +#define Arith_Kind_ASL 2 +#endif |