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/corrected HP-UX and other libc symbols. ------------------------------------------------------------------------------ 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'''|| - ||<rowstyle="background-color:lightgray"> || 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>` ||`<float.h>`|| N/A ||`<math.h>` ||`<sunmath.h>` ||`<float.h>` || || - ||<(>Infinity ||`FLT_INF`, `DBL_INF`, `LDBL_INF` || || N/A || `INFINITY` ||`infinity()` ||`FLT_INFINITY`, `DBL_INFINITY`, `LDBL_INFINITY` || N/A || + ||<(> header ||`<float.h>` ||`<math.h>`|| N/A ||`<math.h>`||`<sunmath.h>`||`<float.h>`|||| + ||<(>Infinity ||`INFINITY`, `FLT_INF`, `DBL_INF`, `LDBL_INF`||`INFINITY`|| N/A||`INFINITY`||`INFINITY`, `infinity()`||`FLT_INFINITY`, `DBL_INFINITY`, `LDBL_INFINITY`|| N/A|| - ||<(>Quiet NaN ||`FLT_QNAN`, `DBL_QNAN`, `LDBL_QNAN`|| || N/A || `nan("")` ||`quiet_nan(long)` ||`FLT_QNAN`, `DBL_QNAN`, `LDBL_QNAN` || N/A || + ||<(>Quiet NaN||`FLT_QNAN`, `DBL_QNAN`, `LDBL_QNAN` ^2^||`nan(const char*)` ^1^|| N/A ||`nan(const char*)` ^1^||`quiet_nan(long)` ^2^ ||`FLT_QNAN`, `DBL_QNAN`, `LDBL_QNAN` || 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 || + ^1^ Supports all signatures required by C99 and POSIX: `float nanf(const char*)`, `double nan(const char*)`, and `long double nanl(const char*)`. + + ^2^ Recent versions also support the C99 interface. == printf() formatting ==
