diff packages/language/c/libm/current/include/sys/ieeefp.h @ 94:4642a6d35749 ecos-sw-2000-06-02

Merge from eCos master repository on 2000-06-02-07:47:04-BST
author jlarmour
date Fri, 02 Jun 2000 17:35:00 +0000
parents 08ffab08d2ee
children e0c0827131d1
line wrap: on
line diff
--- a/packages/language/c/libm/current/include/sys/ieeefp.h
+++ b/packages/language/c/libm/current/include/sys/ieeefp.h
@@ -61,8 +61,6 @@
 // Note: there do not seem to be any current machines which are Big Endian but
 // have a mixed up double layout. 
 
-#if (CYG_BYTEORDER == CYG_MSBFIRST) // Big endian
-
 typedef union 
 {
     cyg_int32 asi32[2];
@@ -73,26 +71,17 @@ typedef union
     
     struct 
     {
-#if (CYG_DOUBLE_BYTEORDER == CYG_MSBFIRST)
         unsigned int sign : 1;
         unsigned int exponent: 11;
         unsigned int fraction0:4;
         unsigned int fraction1:16;
         unsigned int fraction2:16;
         unsigned int fraction3:16;
-#else
-        unsigned int fraction2:16;
-        unsigned int fraction3:16;
-        unsigned int sign : 1;
-        unsigned int exponent: 11;
-        unsigned int fraction0:4;
-        unsigned int fraction1:16;
-#endif        
+        
     } number;
     
     struct 
     {
-#if (CYG_DOUBLE_BYTEORDER == CYG_MSBFIRST)
         unsigned int sign : 1;
         unsigned int exponent: 11;
         unsigned int quiet:1;
@@ -100,31 +89,18 @@ typedef union
         unsigned int function1:16;
         unsigned int function2:16;
         unsigned int function3:16;
-#else
-        unsigned int function2:16;
-        unsigned int function3:16;
-        unsigned int sign : 1;
-        unsigned int exponent: 11;
-        unsigned int quiet:1;
-        unsigned int function0:3;
-        unsigned int function1:16;
-#endif
     } nan;
     
     struct 
     {
-#if (CYG_DOUBLE_BYTEORDER == CYG_MSBFIRST)
         cyg_uint32 msw;
         cyg_uint32 lsw;
-#else
-        cyg_uint32 lsw;
-        cyg_uint32 msw;
-#endif
     } parts;
 
     
 } Cyg_libm_ieee_double_shape_type;
 
+
 typedef union
 {
     cyg_int32 asi32;