diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2021-12-01 00:11:32 +0300 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2021-12-03 13:20:17 +0300 |
commit | a4705d387f7874f9a5de3ee67861773a17691643 (patch) | |
tree | 31d03557be1b010bf3511edef48321fb2c7341d6 /newlib/README | |
parent | 34876c05a527a7295920979fce69cec6b4cb613c (diff) |
ldtoa: Import gdtoa from OpenBSD.
- This patch uses gdtoa imported from OpenBSD if newlib configure
option "--enable-newlib-use-gdtoa=no" is NOT specified. gdtoa
provides more accurate output and faster conversion than legacy
ldtoa, while it requires more heap memory.
Diffstat (limited to 'newlib/README')
-rw-r--r-- | newlib/README | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/README b/newlib/README index 064c5784c..c82bf8b8c 100644 --- a/newlib/README +++ b/newlib/README @@ -352,6 +352,16 @@ One feature can be enabled by specifying `--enable-FEATURE=yes' or 64-bit integer on most systems. Disabled by default. +`--enable-newlib-use-gdtoa' + Use gdtoa rather than legacy ldtoa. gdtoa privides more accurate + output and faster conversion than legacy ldtoa, while it requires + more heap memory. gdtoa sometimes requires 16KB heap memory, so + if the platform does not have enough heap memory, consider disabling + this option. Legacy ldtoa also use heap, however, only 1KB memory + is malloc'ed. In addition, if malloc fails, it still works, with + less conversion accuracy. + Enabled by default. + `--enable-multilib' Build many library versions. Enabled by default. |