aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/arm/arith.h
blob: 94c68d6207c7ac0f946f79f1f1cf6edd414de910 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * MD header for contrib/gdtoa
 *
 * $FreeBSD: src/lib/libc/arm/arith.h,v 1.3.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
 */

/*
 * 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__)
#define IEEE_8087
#define Arith_Kind_ASL 1
#define Sudden_Underflow
#else
#define IEEE_MC68k
#define Arith_Kind_ASL 2
#endif