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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

[PATCH] Fix test-misc for quad long double


Hi!

2000-12-13  Jakub Jelinek  <jakub@redhat.com>

	* math/test-misc.c (main): Adjust m for IEEE quad long double.

--- libc/math/test-misc.c.jj	Sat Dec  9 17:55:57 2000
+++ libc/math/test-misc.c	Wed Dec 13 11:28:48 2000
@@ -52,6 +52,8 @@ main (void)
 
 #  if LDBL_MANT_DIG == 64
     m = 0xf.fffffffffffffffp-4L;
+#  elif LDBL_MANT_DIG == 113
+    m = 0x1.ffffffffffffffffffffffffffffp-1L;
 #  else
 #   error "Please adjust"
 #  endif

	Jakub

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