about summary refs log tree commit diff
path: root/soft-fp/soft-fp.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-01 21:49:33 +0000
committerRoland McGrath <roland@gnu.org>2002-11-01 21:49:33 +0000
commitbde40c2f9ac07a40135e845b84fd0e470a562f65 (patch)
treef3a7d52b8c1264e90f394c67eb2ef83ccbc625d6 /soft-fp/soft-fp.h
parent15deb6b3b4f3e1f65fe25acab1d0b4317bcb51a8 (diff)
downloadglibc-bde40c2f9ac07a40135e845b84fd0e470a562f65.tar.gz
glibc-bde40c2f9ac07a40135e845b84fd0e470a562f65.tar.xz
glibc-bde40c2f9ac07a40135e845b84fd0e470a562f65.zip
* sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
	New macros.
	* sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.

	* soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST
	without defining FP_ROUNDMODE.
Diffstat (limited to 'soft-fp/soft-fp.h')
-rw-r--r--soft-fp/soft-fp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/soft-fp/soft-fp.h b/soft-fp/soft-fp.h
index 52638ad52f..e2639d7bc1 100644
--- a/soft-fp/soft-fp.h
+++ b/soft-fp/soft-fp.h
@@ -1,5 +1,5 @@
 /* Software floating-point emulation.
-   Copyright (C) 1997,1998,1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997,1998,1999,2000,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com),
 		  Jakub Jelinek (jj@ultra.linux.cz),
@@ -42,10 +42,10 @@
 # define FP_RND_ZERO		1
 # define FP_RND_PINF		2
 # define FP_RND_MINF		3
+#endif
 #ifndef FP_ROUNDMODE
 # define FP_ROUNDMODE		FP_RND_NEAREST
 #endif
-#endif
 
 /* By default don't care about exceptions. */
 #ifndef FP_EX_INVALID