summary refs log tree commit diff stats
path: root/lib/system/formatfloat.nim
Commit message (Collapse)AuthorAgeFilesLines
* move formatfloat out of system (#20195)ringabout2022-08-241-135/+6
| | | | | | | | | | | | | | | * move formatfloat out of system * fixes doc * Update changelog.md * careless * fixes * deprecate system/formatfloat * better handling
* move assertions out of system (#19599)flywind2022-03-231-0/+3
|
* rename nimFpRoundtrips => nimPreviewFloatRoundtrip (#18566)Timothee Cour2021-07-231-2/+2
|
* make -d:nimFpRoundtrips work consistently in vm vs rt, fix #18400, etc (#18531)Timothee Cour2021-07-201-49/+117
| | | | | | * compiler/vmhooks: add getVar to allow vmops with var params * addFloat vmops with var param * cgen now renders float32 literals in c backend using roundtrip float to string
* make dragonbox opt-in via -d:nimFpRoundtrips (#18504)Andreas Rumpf2021-07-161-1/+1
| | | | | | | * make dragonbox opt-in via -d:nimFpRoundtrips * make tests green again * make tests green again
* use dragonbox algorithm; alternative to #18008 (#18139)Andreas Rumpf2021-06-011-46/+51
| | | | | * use dragonbox algorithm; alternative to #18008 * removed unsafe code
* Revert "printing float values will have one more digit. (#13276) [backport]" ↵Timothee Cour2020-02-081-1/+1
| | | | | (#13363) This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe.
* printing float values will have one more digit. (#13276) [backport]Arne Döring2020-02-071-1/+1
| | | | * printing float values will have one more digit. Fixes #13196
* NaN floatFormat with clang_cl (#12910)cooldome2019-12-171-2/+2
| | | | | | * clang_cl nan floatFormat * format
* consistent floating point output (#12219)Andreas Rumpf2019-09-201-0/+59
* unify float printing * makes tests green