1 /* Output routines for Motorola MCore processor
2 Copyright (C) 1993, 1999, 2000 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* float.h for the M*Core microprocessor. It uses IEEE floating point.
22 * float is 32 bit IEEE-754 format
23 * double is 64 bit IEEE-754 format
24 * long double is not defined right now...
32 #define FLT_MANT_DIG 24
34 #define FLT_EPSILON ((float)1.19209290e-07)
35 #define FLT_MIN_EXP (-125)
36 #define FLT_MIN ((float)1.17549435e-38)
37 #define FLT_MIN_10_EXP (-37)
38 #define FLT_MAX_EXP 128
39 #define FLT_MAX ((float)3.40282347e+38)
40 #define FLT_MAX_10_EXP 38
42 #define DBL_MANT_DIG 53
44 #define DBL_EPSILON 2.2204460492503131e-16
45 #define DBL_MIN_EXP (-1021)
46 #define DBL_MIN 2.2250738585072014e-308
47 #define DBL_MIN_10_EXP (-307)
48 #define DBL_MAX_EXP 1024
49 #define DBL_MAX 1.7976931348623157e+308
50 #define DBL_MAX_10_EXP 308
53 /* No definitions for LDBL at this time. */
60 #undef LDBL_MIN_10_EXP
63 #undef LDBL_MAX_10_EXP
65 #endif /* __FLOAT_H__ */