]> gitweb.factorcode.org Git - factor.git/commit
math.parser: Add Dragonbox float representation algorithm 2943/head
authorGiftpflanze <gifti@tools.wmflabs.org>
Sun, 11 Feb 2024 12:42:33 +0000 (13:42 +0100)
committerGiftpflanze <gifti@tools.wmflabs.org>
Sun, 11 Feb 2024 21:48:21 +0000 (22:48 +0100)
commit58377ffad594ed72c42f26b3aecf49b6dc269ad4
tree1d7df98335e3b385c640a495e984acbbd26b1069
parent5b56f58abba1ddcfe31ac24de7ea37d9b57bd046
math.parser: Add Dragonbox float representation algorithm

* Remove fmtlib
* Simplify `format-float`, rename to `format-float*`
* Change format:
  - no trailing zeroes in exponential format
  - no plus in exponents
  - no exponential format if the decimal representation of the significand
    has 17 digits or less
GNUmakefile
basis/calendar/format/format.factor
basis/formatting/formatting.factor
core/math/parser/parser-tests.factor
core/math/parser/parser.factor
vm/fmt/core.h [deleted file]
vm/fmt/format-inl.h [deleted file]
vm/fmt/format.h [deleted file]
vm/math.cpp