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/newlib.hin | |
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/newlib.hin')
-rw-r--r-- | newlib/newlib.hin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/newlib.hin b/newlib/newlib.hin index 416d0c629..a0999512c 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -96,6 +96,9 @@ /* Define to use type long for time_t. */ #undef _WANT_USE_LONG_TIME_T +/* Define if using gdtoa rather than legacy ldtoa. */ +#undef _WANT_USE_GDTOA + /* * Iconv encodings enabled ("to" direction) */ |