stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Stdcxx Wiki] Update of "FloatingPoint" by MartinSebor
Date Wed, 04 Jun 2008 21:38:00 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Stdcxx Wiki" for change notification.

The following page has been changed by MartinSebor:
http://wiki.apache.org/stdcxx/FloatingPoint

The comment on the change is:
Added a note about x86 processors.

------------------------------------------------------------------------------
  
  ||||||||||||||||<tablestyle="background-color:cornsilk">'''IEEE 754 double precision
bit patterns'''||
  ||<rowstyle="background-color:lightgray;text-align:center">|| Number || Sign || Exponent
|| Fraction ||
- ||<rowspan="3"> AIX/Power        || Infinity      || `0` || `0x7ff`    || `0`    
             ||
+ ||<rowspan="3"> AIX/Power        || Infinity        || `0` || `0x7ff`    || `0`  
               ||
- ||                                  Quiet NaN     || `0` || `0x7ff`    || `0x80000`    
       ||
+ ||                                  Quiet NaN       || `0` || `0x7ff`    || `0x80000`  
         ||
- ||                                  Signaling NaN || `0` || `0x7ff`    || `0x5555555500055555`
||
+ ||                                  Signaling NaN   || `0` || `0x7ff`    || `0x5555555500055555`
||
- ||<rowspan="3"> HP-UX            || Infinity      || `0` || `0x7ff`    || `0`    
             ||
+ ||<rowspan="3"> HP-UX            || Infinity        || `0` || `0x7ff`    || `0`  
               ||
- ||                                  Quiet NaN     || `0` || `0x7ff`    || `0x40000`    
       ||
+ ||                                  Quiet NaN       || `0` || `0x7ff`    || `0x40000`  
         ||
- ||                                  Signaling NaN || `0` || `0x7ff`    || `0x80000`    
       ||
+ ||                                  Signaling NaN   || `0` || `0x7ff`    || `0x80000`  
         ||
- ||<rowspan="3"> IRIX/MIPS        || Infinity      ||     ||            ||        
             ||
+ ||<rowspan="3"> IRIX/MIPS        || Infinity        ||     ||            ||      
               ||
- ||                                  Quiet NaN     ||     ||            ||              
       ||
+ ||                                  Quiet NaN       ||     ||            ||            
         ||
- ||                                  Signaling NaN ||     ||            ||              
       ||
+ ||                                  Signaling NaN   ||     ||            ||            
         ||
- ||<rowspan="3"> Linux/x86        || Infinity      || `0` || `0x7ff`    || `0`    
             ||
+ ||<rowspan="3"> Linux/x86        || Infinity        || `0` || `0x7ff`    || `0`  
               ||
- ||                                  Quiet NaN     || `0` || `0x7ff`    || `0x80000`    
       ||
+ ||                                  Quiet NaN^1^    || `0` || `0x7ff`    || `0x80000`  
         ||
- ||                                  Signaling NaN || `0` || `0x7ff`    || `0x40000`    
       ||
+ ||                                  Signaling NaN^1^|| `0` || `0x7ff`    || `0x40000`  
         ||
- ||<rowspan="3"> Tru64 UNIX/Alpha || Infinity      || `0` || `0`        || `0x7ff0000000000000`
||
- ||                                  Quiet NaN     || `0` || `0`        || `0xfff8000000000000`
||
- ||                                  Signaling NaN || `1` || `0x2aa`    || `0x7ff5555500055555`
||
- ||<rowspan="3"> Windows/x86      || Infinity      ||     ||            ||        
             ||
+ ||<rowspan="3"> Solaris/SPARC    || Infinity        ||     ||            ||      
               ||
- ||                                  Quiet NaN     ||     ||            ||              
       ||
+ ||                                  Quiet NaN       ||     ||            ||            
         ||
- ||                                  Signaling NaN ||     ||            ||              
       ||
+ ||                                  Signaling NaN   ||     ||            ||            
         ||
+ ||<rowspan="3"> Solaris/x86      || Infinity        ||     ||            ||      
               ||
+ ||                                  Quiet NaN^1^    ||     ||            ||            
         ||
+ ||                                  Signaling NaN^1^||     ||            ||            
         ||
+ ||<rowspan="3"> Tru64 UNIX/Alpha || Infinity        || `0` || `0`        || `0x7ff0000000000000`
||
+ ||                                  Quiet NaN       || `0` || `0`        || `0xfff8000000000000`
||
+ ||                                  Signaling NaN   || `1` || `0x2aa`    || `0x7ff5555500055555`
||
+ ||<rowspan="3"> Windows/x86      || Infinity        ||     ||            ||      
               ||
+ ||                                  Quiet NaN       ||     ||            ||            
         ||
+ ||                                  Signaling NaN   ||     ||            ||            
         ||
  
+ ^1^ Intel and AMD processors set the first fraction bit to 1 for Quiet NaNs and clear it
for Signaling NaNs.
+ 

Mime
View raw message