| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
(cherry picked from commit 087d612efebe7c64e5f079b07e0454111859830e)
Authored-by: Stefan Krah <skrah@bytereef.org>
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
use log10() to calculate the size of the output array. The current code
has been tested on x86/amd64 (and to a lesser extent on qemu-mips qemu-sparc)
and produces sufficiently large values for all inputs tested so far (coefficient
sizes of 10**18 - 1 are hard to test exhaustively).
The new code does not rely on the correctness of log10() and resizes
the output arrays if the allocated space is insufficient.
|
|
|
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
|