commit | 79af3572250352c5eeacdd813b57ad5ba748654c | [log] [tgz] |
---|---|---|
author | Tom Musta <tommusta@gmail.com> | Mon Apr 21 15:54:54 2014 -0500 |
committer | Alexander Graf <agraf@suse.de> | Mon Jun 16 13:24:29 2014 +0200 |
tree | 6131a6ba98cbbcfda6b7a7a9569e32642b0e66fd | |
parent | 8e706db21ecfba75da3f9f843f1fa36276085742 [diff] |
libdecnumber: Introduce decNumberIntegralToInt64 Introduce a new conversion function to the libdecnumber library. This function converts a decNumber to a signed 64-bit integer. In order to support 64-bit integers (which may have up to 19 decimal digits), the existing "powers of 10" array is expanded from 10 to 19 entries. Signed-off-by: Tom Musta <tommusta@gmail.com> [agraf: fix 32bit host compile] Signed-off-by: Alexander Graf <agraf@suse.de>