[PATCH] Fix test-misc for quad long double

Jakub Jelinek jakub@redhat.com
Wed Dec 13 05:59:00 GMT 2000


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


More information about the Libc-hacker mailing list