This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PowerPC64 long double


Needed for compiling with -mlong-double-128 on powerpc64-linux

2005-02-15  Alan Modra  <amodra@bigpond.net.au>

	* misc/qefgcvt_r.c (FLOAT_MIN_10_NORM): Add define for powerpc64
	long double.

Index: misc/qefgcvt_r.c
===================================================================
RCS file: /cvs/glibc/libc/misc/qefgcvt_r.c,v
retrieving revision 1.8
diff -u -p -r1.8 qefgcvt_r.c
--- misc/qefgcvt_r.c	22 Dec 2004 19:56:10 -0000	1.8
+++ misc/qefgcvt_r.c	15 Feb 2005 03:17:26 -0000
@@ -43,6 +43,8 @@
 #endif
 #if LDBL_MIN_10_EXP == -37
 # define FLOAT_MIN_10_NORM	1.0e-37L
+#elif LDBL_MIN_10_EXP == -291
+# define FLOAT_MIN_10_NORM	1.0e-291L
 #elif LDBL_MIN_10_EXP == -307
 # define FLOAT_MIN_10_NORM	1.0e-307L
 #elif LDBL_MIN_10_EXP == -4931

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]