Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
523e9291
Commit
523e9291
authored
Jul 05, 1997
by
Richard M. Stallman
Browse files
Include float.h before lisp.h.
parent
c4009c1f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
src/data.c
src/data.c
+8
-1
src/doprnt.c
src/doprnt.c
+2
-1
src/floatfns.c
src/floatfns.c
+6
-4
No files found.
src/data.c
View file @
523e9291
...
...
@@ -22,6 +22,14 @@ Boston, MA 02111-1307, USA. */
#include <signal.h>
#include <config.h>
/* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined. */
#ifdef LISP_FLOAT_TYPE
#ifdef STDC_HEADERS
#include <float.h>
#endif
#endif
#include "lisp.h"
#include "puresize.h"
#include "charset.h"
...
...
@@ -36,7 +44,6 @@ Boston, MA 02111-1307, USA. */
#ifdef LISP_FLOAT_TYPE
#ifdef STDC_HEADERS
#include <float.h>
#include <stdlib.h>
#endif
...
...
src/doprnt.c
View file @
523e9291
...
...
@@ -24,12 +24,13 @@ Boston, MA 02111-1307, USA. */
#include <config.h>
#include <stdio.h>
#include <ctype.h>
#include "lisp.h"
#if STDC_HEADERS
#include <float.h>
#endif
#include "lisp.h"
#ifndef DBL_MAX_10_EXP
#define DBL_MAX_10_EXP 308
/* IEEE double */
#endif
...
...
src/floatfns.c
View file @
523e9291
...
...
@@ -47,15 +47,17 @@ Boston, MA 02111-1307, USA. */
#include <signal.h>
#include <config.h>
#include "lisp.h"
#include "syssignal.h"
#ifdef LISP_FLOAT_TYPE
/* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined. */
#if STDC_HEADERS
#include <float.h>
#endif
#include "lisp.h"
#include "syssignal.h"
#ifdef LISP_FLOAT_TYPE
/* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */
#ifndef IEEE_FLOATING_POINT
#if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment