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
commit daaa40973c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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