mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
added float32 schubfach algorithm; wip (#18155)
* added float32 schubfach algorithm; wip * fixes #18418
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user