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 20:51:46 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 headers, improved formatting.

------------------------------------------------------------------------------
  
  The table below lists the public symbols defined on each platform for Infinity, Quiet NaN,
and Signaling NaN.
  
+ ||||||||||||||||<tablestyle="background-color:cornsilk;text-align:center">'''libc
symbols'''||
- ||               || AIX       || HP-UX     || IRIX     || Linux      || Solaris        
     || Tru64 UNIX       || Windows ||
+ ||<rowstyle="background-color:lightgray">               || AIX                   
           || HP-UX     || IRIX     || Linux      || Solaris             || Tru64 UNIX   
   || Windows ||
- || header        || <float.h> ||           ||          ||            ||          
           ||                  ||         ||
+ || header        ||`<float.h>`                        ||`<float.h>`|| N/A  
   ||`<math.h>`  ||`<sunmath.h>`        ||`<float.h>`       ||         ||
- || Infinity      ||`DBL_INF`  ||           || N/A      || `INFINITY` || `infinity()`   
     || `DBL_INFINITY`   || N/A     ||
+ ||<(>Infinity      ||`FLT_INF`, `DBL_INF`, `LDBL_INF`   ||           || N/A      ||
`INFINITY` ||`infinity()`         ||`FLT_INFINITY`, `DBL_INFINITY`, `LDBL_INFINITY`   || N/A
    ||
- || Quiet NaN     ||`DBL_QNAN` ||           || N/A      || `nan("")`  || `quiet_nan(long)`
   || `DBL_QNAN`       || N/A     ||
+ ||<(>Quiet NaN     ||`FLT_QNAN`, `DBL_QNAN`, `LDBL_QNAN`||           || N/A      ||
`nan("")`  ||`quiet_nan(long)`    ||`FLT_QNAN`, `DBL_QNAN`, `LDBL_QNAN`       || N/A     ||
- || Signaling NaN ||`DBL_SNAN` ||           || N/A      || N/A        || `signaling_nan(long)`||
`DBL_SNAN`       || N/A     ||
+ ||<(>Signaling NaN ||`FLT_SNAN`, `DBL_SNAN`, `LDBL_SNAN`||           || N/A      ||
N/A        ||`signaling_nan(long)`||`FLT_SNAN`, `DBL_SNAN`, `LDBL_SNAN`       || N/A     ||
  
  
  == printf() formatting ==
  
- ||               || AIX        || HP-UX    || IRIX          || Linux     || Solaris   ||
Tru64      || MSVC/x86      || MSVC/x64      ||
+ ||||||||||||||||||<tablestyle="background-color:cornsilk;text-align:center">'''`printf()`
formatting'''||
+ ||<rowstyle="background-color:lightgray"> || AIX || HP-UX || IRIX || Linux || Solaris
|| Tru64 UNIX || Windows/x86 || Windows/x64 ||
- || Infinity      || `+/- INF`  || `+/- inf`|| `+/- inf`     || `+/- inf` || `+/- Inf` ||
`+/- INF`  || `+/- 1.#INF`  || `+/- 1.#INF`  ||
+ ||<(>Infinity      || `+/- INF`  || `+/- inf`|| `+/- inf`     || `+/- inf` || `+/-
Inf` || `+/- INF`  || `+/- 1.#INF`  || `+/- 1.#INF`  ||
- || Quiet NaN     || `+/- NaNQ` || `+/- nan`|| `+/- nan0xxx` || `+/- nan` || `+/- NaN` ||
    `NaNQ` || `-/- 1.#IND`  || `-/- 1.#IND`  ||
+ ||<(>Quiet NaN     || `+/- NaNQ` || `+/- nan`|| `+/- nan0xxx` || `+/- nan` || `+/-
NaN` ||     `NaNQ` || `-/- 1.#IND`  || `-/- 1.#IND`  ||
- || Signaling NaN || `+/- NaNS` || `+/- nan`|| `+/- nan0xxx` || `+/- nan` || `+/- NaN` ||
    `NaNS` || `+/- 1.#QNAN` || `+/- 1.#SNAN` ||
+ ||<(>Signaling NaN || `+/- NaNS` || `+/- nan`|| `+/- nan0xxx` || `+/- nan` || `+/-
NaN` ||     `NaNS` || `+/- 1.#QNAN` || `+/- 1.#SNAN` ||
  
  
  == numeric_limits<double> values/formatting ==
  
+ ||||||||||||||||||<tablestyle="background-color:cornsilk;text-align:center">'''`numeric_limits<double>`
values/formatting'''||
- ||                  || AIX         || HP-UX   || IRIX       || Linux  || Solaris/x86 ||
Tru64   || Windows/x86 || Windows/x64 ||
+ ||<rowstyle="background-color:lightgray"> || AIX       || HP-UX   || IRIX       ||
Linux || Solaris || Tru64 UNIX || Windows/x86 || Windows/x64 ||
- ||                  || XLC++ 9.0   || aCC 3,6 || MIPSpro    || gcc    || Sun C++     ||
 HP C++ || MSVC        || MSVC        ||
+ ||<rowstyle="background-color:lightgray"> || XLC++ 9.0 || aCC 3,6 || MIPSpro    ||
gcc    || Sun C++     ||  HP C++ || MSVC        || MSVC        ||
- || `infinity()`     || `INF`       || `inf`   || `inf`      || `inf`  || `Inf`       ||
 0      || `1.#INF`    || `1.#INF`    ||
+ ||<(>`infinity()`     || `INF`       || `inf`   || `inf`      || `inf`  || `Inf` 
     ||  0      || `1.#INF`    || `1.#INF`    ||
- || `quiet_NaN()`    || `-NaNQ`     || `nan`   || `nan0xxx`  || `nan`  || `NaN`       ||
 0      || `1.#QNAN`   || `1.#QNAN`   ||
+ ||<(>`quiet_NaN()`    || `-NaNQ`     || `nan`   || `nan0xxx`  || `nan`  || `NaN` 
     ||  0      || `1.#QNAN`   || `1.#QNAN`   ||
- || `signaling_NaN()`|| `-INF`      || `nan`   || `nan0xxx`  || `nan`  || `NaN`       ||
 0      || `1.#QNAN`   || `1.#SNAN`   ||
+ ||<(>`signaling_NaN()`|| `-INF`      || `nan`   || `nan0xxx`  || `nan`  || `NaN` 
     ||  0      || `1.#QNAN`   || `1.#SNAN`   ||
  
  
  AIX/Power:

Mime
View raw message