mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
64 lines
1.2 KiB
Text
64 lines
1.2 KiB
Text
* /home/cxl/out/autotest/CLANG.Debug.Debug_Full.Shared/Atof 31.08.2021 10:52:41, user: cxl
|
|
|
|
ScanDouble(".23") = 0.23
|
|
ScanDouble("1.23") = 1.23
|
|
ScanDouble("-1.23e-33") = -1.23e-33
|
|
ScanDouble("z") =
|
|
ScanDouble("1,23e33", 0, true) = 1.23e33
|
|
ScanDouble("1,23e33", 0, false) = 1
|
|
StrDbl("1.23") = 1.23
|
|
StrDbl("1,23e-33") = 1.23e-33
|
|
--------
|
|
x = 1
|
|
x = 2
|
|
x = 3
|
|
x = 1.23
|
|
x = 12340000000
|
|
x = -1.345e-10
|
|
x = 0.23
|
|
x = 1.23
|
|
x = 0.23
|
|
--------
|
|
x = 1
|
|
x = 2
|
|
x = 3
|
|
x = 1.23
|
|
x = 12340000000
|
|
x = -1.345e-10
|
|
x = 0.23
|
|
x = 1.23
|
|
x = 0.23
|
|
--------
|
|
x = 1
|
|
x = 2
|
|
x = 3
|
|
x = 1.23
|
|
x = 12340000000
|
|
x = -1.345e-10
|
|
x = 0.23
|
|
x = 1
|
|
--------
|
|
CParser("1").ReadDouble() = 1
|
|
CParser("1.23").ReadDouble() = 1.23
|
|
CParser("1.23e-33").ReadDouble() = 1.23e-33
|
|
CParser("-1.23e-33").ReadDouble() = -1.23e-33
|
|
--------
|
|
p.ReadDouble() = 1
|
|
p.ReadDouble() = 2
|
|
p.ReadDouble() = 3
|
|
p.ReadDouble() = 1.23
|
|
p.ReadDouble() = 12340000000
|
|
p.ReadDouble() = -1.345e-10
|
|
--------
|
|
p.ReadDouble() = 1
|
|
p.ReadDouble() = 2
|
|
p.ReadDouble() = 3
|
|
p.ReadDouble() = 1.23
|
|
p.ReadDouble() = 12340000000
|
|
p.ReadDouble() = -1.345e-10
|
|
p.ReadDouble() = 0.23
|
|
p.ReadDouble() = 1
|
|
--------
|
|
e = (1,1): missing number
|
|
Atof("x") = 0
|
|
Atof("-1.234E+50") = -1.234e50
|