The DFPAL Library, version 2.20 © Copyright IBM Corporation, 2007. All rights reserved. |
|
[previous | contents | next] | [printer friendly] |
DFPAL_USE_DECFLOAT
must be defined to activate decFloat at compile time.
dfpalInit()
. The dfpalInit()
will fail if decNumber or decFloat is not compiled with correct endian settings.
dfpalClearAllStatusFlag()
is added to improve performance.
decimalNNFromPackedBCD()
has different semantics as compared to previous release.
strtod()/snprintf()
. The strtod()/snprintf()
behavior in terms of raising floating point exception is not consistent across platforms. Applications should not assume presence or absence of particular floating point exception after these conversions.
strtod()/snprintf()
(rounding mode is not shared by binary floating point and decimal floating point for POWER6 processor). Application's preference for particular rounding mode for the binary floating conversions [strtod()/snprintf()
] can be implemented by using a wrapper around the decimalNN{To|From}Double()
routines to set binary floating point rounding mode before calling the conversion routines.
strtod()/snprintf()
are implemented with slightly different semantics.
decimalNNRescale()
function, it may be removed from the future release. Use decimalNNQuantize()
instead. Due to exponent clamp in the hardware, results are not guaranteed when input number's exponent is close to Emax or Emin.
DFPAL is authored by Punit Shah (punit@us.ibm.com).
Please send any corrections, comments or questions to dfpal-l@austin.ibm.com.
This page was updated on 21 Dec 2007. |