]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
PowerPC floating point little-endian [5 of 15]
authorAlan Modra <amodra@gmail.com>
Sat, 17 Aug 2013 08:56:39 +0000 (18:26 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 4 Oct 2013 01:03:05 +0000 (10:33 +0930)
http://sourceware.org/ml/libc-alpha/2013-08/msg00085.html

Rid ourselves of ieee854.

* sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
Delete.
(IEEE854_LONG_DOUBLE_BIAS): Delete.
* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
version of math_ldbl.h.

ChangeLog
sysdeps/ieee754/ldbl-128ibm/ieee754.h
sysdeps/ieee754/ldbl-128ibm/math_ldbl.h

index e3647f33ef5f538d3cbe4e3885b6b566ff8f4569..ac0080be65e04ad521e91bfa3e8b36fb71795d9f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-10-04  Alan Modra  <amodra@gmail.com>
+
+       * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
+       Delete.
+       (IEEE854_LONG_DOUBLE_BIAS): Delete.
+       * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
+       version of math_ldbl.h.
+
 2013-10-04  Alan Modra  <amodra@gmail.com>
 
        [BZ #15734], [BZ #15735]
index 0778b1fed5c22aea0e4d6c7ee936020573676748..0c97a9920777c1995e248f15c5d4da61ccaf25b2 100644 (file)
@@ -111,61 +111,6 @@ union ieee754_double
 #define IEEE754_DOUBLE_BIAS    0x3ff /* Added to exponent.  */
 
 
-union ieee854_long_double
-  {
-    long double d;
-
-    /* This is the IEEE 854 quad-precision format.  */
-    struct
-      {
-#if    __BYTE_ORDER == __BIG_ENDIAN
-       unsigned int negative:1;
-       unsigned int exponent:15;
-       /* Together these comprise the mantissa.  */
-       unsigned int mantissa0:16;
-       unsigned int mantissa1:32;
-       unsigned int mantissa2:32;
-       unsigned int mantissa3:32;
-#endif                         /* Big endian.  */
-#if    __BYTE_ORDER == __LITTLE_ENDIAN
-       /* Together these comprise the mantissa.  */
-       unsigned int mantissa3:32;
-       unsigned int mantissa2:32;
-       unsigned int mantissa1:32;
-       unsigned int mantissa0:16;
-       unsigned int exponent:15;
-       unsigned int negative:1;
-#endif                         /* Little endian.  */
-      } ieee;
-
-    /* This format makes it easier to see if a NaN is a signalling NaN.  */
-    struct
-      {
-#if    __BYTE_ORDER == __BIG_ENDIAN
-       unsigned int negative:1;
-       unsigned int exponent:15;
-       unsigned int quiet_nan:1;
-       /* Together these comprise the mantissa.  */
-       unsigned int mantissa0:15;
-       unsigned int mantissa1:32;
-       unsigned int mantissa2:32;
-       unsigned int mantissa3:32;
-#else
-       /* Together these comprise the mantissa.  */
-       unsigned int mantissa3:32;
-       unsigned int mantissa2:32;
-       unsigned int mantissa1:32;
-       unsigned int mantissa0:15;
-       unsigned int quiet_nan:1;
-       unsigned int exponent:15;
-       unsigned int negative:1;
-#endif
-      } ieee_nan;
-  };
-
-#define IEEE854_LONG_DOUBLE_BIAS 0x3fff /* Added to exponent.  */
-
-
 /* IBM extended format for long double.
 
    Each long double is made up of two IEEE doubles.  The value of the
index 8adb081c38d5319909b764189357acaa22f117f1..1b6e27a9ff7d0585621a3d2a74c8f66b7db96200 100644 (file)
@@ -2,7 +2,6 @@
 #error "Never use <math_ldbl.h> directly; include <math_private.h> instead."
 #endif
 
-#include <sysdeps/ieee754/ldbl-128/math_ldbl.h>
 #include <ieee754.h>
 #include <stdint.h>