]> git.saurik.com Git - apple/libc.git/blobdiff - gdtoa/FreeBSD/gdtoaimp.h.patch
Libc-498.1.5.tar.gz
[apple/libc.git] / gdtoa / FreeBSD / gdtoaimp.h.patch
index 4b7ee34520161bfd7dab61d4ed26b165cb8ce711..e9cb4091680ea42d484c8b10436ff12306792fb0 100644 (file)
@@ -1,5 +1,5 @@
---- gdtoaimp.h.orig    2007-10-04 15:00:21.000000000 -0700
-+++ gdtoaimp.h 2007-10-04 15:35:46.000000000 -0700
+--- gdtoaimp.h.orig    2008-07-30 13:29:37.000000000 -0700
++++ gdtoaimp.h 2008-07-30 13:49:16.000000000 -0700
 @@ -167,6 +167,7 @@
  
  #ifndef GDTOAIMP_H_INCLUDED
  #undef IEEE_Arith
  #undef Avoid_Underflow
  #ifdef IEEE_MC68k
-@@ -233,6 +240,10 @@
- #else /* ifndef Bad_float_h */
- #include "float.h"
-+/* force the correct definition of FLT_ROUNDS */
-+extern int __fegetfltrounds( void );
-+#undef FLT_ROUNDS
-+#define FLT_ROUNDS (__fegetfltrounds ())
- #endif /* Bad_float_h */
- #ifdef IEEE_Arith
-@@ -449,10 +460,16 @@
+@@ -449,10 +456,16 @@
  #define ALL_ON 0xffff
  #endif
  
@@ -62,7 +51,7 @@
  
  #define Kmax 15
  
-@@ -475,51 +492,89 @@
+@@ -475,51 +488,89 @@
  #define Bcopy(x,y) memcpy(&x->sign,&y->sign,y->wds*sizeof(ULong) + 2*sizeof(int))
  #endif /* NO_STRING_H */
  
  
   extern char *dtoa_result;
   extern CONST double bigtens[], tens[], tinytens[];
-@@ -542,8 +597,11 @@
+@@ -542,8 +593,11 @@
   extern Bigint *diff ANSI((Bigint*, Bigint*));
   extern char *dtoa ANSI((double d, int mode, int ndigits,
                        int *decpt, int *sign, char **rve));
   extern void hexdig_init_D2A(Void);
   extern int hexnan ANSI((CONST char**, FPI*, ULong*));
   extern int hi0bits_D2A ANSI((ULong));
-@@ -560,11 +618,32 @@
+@@ -560,11 +614,32 @@
   extern double ratio ANSI((Bigint*, Bigint*));
   extern void rshift ANSI((Bigint*, int));
   extern char *rv_alloc ANSI((int));