added float32 schubfach algorithm; wip (#18155)

* added float32 schubfach algorithm; wip

* fixes #18418
This commit is contained in:
Andreas Rumpf
2021-06-03 12:09:40 +02:00
committed by GitHub
parent 06960bb9cb
commit daaa40973c
5 changed files with 478 additions and 1 deletions

View File

@@ -21,3 +21,8 @@ echo "0.00000_1".parseFloat(), " : ", 1E-6
echo "1_0.00_0001".parseFloat(), " : ", 10.000001
echo "1__00.00_0001".parseFloat(), " : ", 1_00.000001
# bug #18148
var a = 1.1'f32
doAssert $a == "1.1", $a # fails