Changeset 2139
- Timestamp:
- Jul 2, 2005, 2:15:59 AM (20 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/src/emx/src/lib/bsd/gen/isinf.c (modified) (4 diffs, 1 prop)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/src/emx/src/lib/bsd/gen/isinf.c- 
Property       cvs2svn:cvs-rev
 changed from       1.2to1.3
 r2138 r2139 45 45 46 46 u.d = d; 47 #ifdef __EMX__ 48 return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0) 49 ? u.bits.sign ? -1 : 1 : 0; 50 #else 47 51 return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0); 52 #endif 48 53 } 49 54 … … 54 59 55 60 u.f = f; 61 #ifdef __EMX__ 62 return (u.bits.exp == 255 && u.bits.man == 0) 63 ? u.bits.sign ? -1 : 1 : 0; 64 #else 56 65 return (u.bits.exp == 255 && u.bits.man == 0); 66 #endif 57 67 } 58 68 … … 64 74 u.e = e; 65 75 mask_nbit_l(u); 76 #ifdef __EMX__ 77 #ifndef __alpha__ 78 return (u.bits.exp == 32767 && u.bits.manl == 0 && u.bits.manh == 0) 79 #else 80 return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0) 81 #endif 82 ? u.bits.sign ? -1 : 1 : 0; 83 #else 66 84 #ifndef __alpha__ 67 85 return (u.bits.exp == 32767 && u.bits.manl == 0 && u.bits.manh == 0); … … 69 87 return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0); 70 88 #endif 89 #endif 71 90 } 
- 
Property       cvs2svn:cvs-rev
 changed from       
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
