Mercurial > emacs
comparison src/floatfns.c @ 20122:923e1f635ace
No need to include <float.h> before "lisp.h",
as the latter no longer defines DBL_DIG.
| author | Paul Eggert <eggert@twinsun.com> |
|---|---|
| date | Thu, 23 Oct 1997 04:29:36 +0000 |
| parents | cad2a27d4451 |
| children | fa9ff387d260 |
comparison
equal
deleted
inserted
replaced
| 20121:1e352b03fd8a | 20122:923e1f635ace |
|---|---|
| 45 */ | 45 */ |
| 46 | 46 |
| 47 #include <signal.h> | 47 #include <signal.h> |
| 48 | 48 |
| 49 #include <config.h> | 49 #include <config.h> |
| 50 | 50 #include "lisp.h" |
| 51 /* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined. */ | 51 #include "syssignal.h" |
| 52 | |
| 53 #ifdef LISP_FLOAT_TYPE | |
| 54 | |
| 52 #if STDC_HEADERS | 55 #if STDC_HEADERS |
| 53 #include <float.h> | 56 #include <float.h> |
| 54 #endif | 57 #endif |
| 55 | |
| 56 #include "lisp.h" | |
| 57 #include "syssignal.h" | |
| 58 | |
| 59 #ifdef LISP_FLOAT_TYPE | |
| 60 | 58 |
| 61 /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */ | 59 /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */ |
| 62 #ifndef IEEE_FLOATING_POINT | 60 #ifndef IEEE_FLOATING_POINT |
| 63 #if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \ | 61 #if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \ |
| 64 && FLT_MIN_EXP == -125 && FLT_MAX_EXP == 128) | 62 && FLT_MIN_EXP == -125 && FLT_MAX_EXP == 128) |
