# 6.37.38-15.307.308-31.307.308 regression tests for the ast floating point strto*() routines
TEST 01 'min/max'
EXEC 2.225073858507201e-308 2.225073858507202e-308 2.225073858507203e-308
EXEC 1.797693134862314e+308 1.797693134862315e+308 1.797693134862316e+308
EXEC 2.2250738585072013830902327173323e-308 2.2250738585072013830902327173324e-308 2.2250738585072013830902327173325e-308
EXEC 1.7976931348623158079372897140529e+308 1.7976931348623158079372897140530e+308 1.7976931348623158079372897140531e+308
TEST 02 'optional suffix'
EXEC 1.17549435e-38F 3.40282347e+38F
EXEC 3.36210314311209350626e-4932L 1.18973149535723176502e+4932L
TEST 03 'hexadecimal floating point'
EXEC 0x1.0000000000000000p-1024 0x1.fffffffffffffffep+1023
EXEC 0x1p+16383 -0x1p+16383 0x1p-16382 -0x1p-16382
EXEC 0x1p+16383 -0x1p+16383 0x1p+16384 -0x1p+16384 0x1p-16382 -0x1p-16382 0x1p-16383 -0x1p-16383
EXEC 0x1p127 0x1.p127 0x1.0p127 0x.1p131 0x0.1p131 0x0.10p131
EXEC 0x12345p127 0x12345.6789ap127 1.26866461572665980e+43
TEST 04 'to infinity and beyond'
EXEC inf +inf -inf
EXEC Inf +Inf -Inf
EXEC InFiNiTy +InFiNiTy -InFiNiTy
EXEC infi +infi -infi
EXEC in +in -in
EXEC NaN +NaN -NaN
EXEC NaN12-34abc.def +NaN12-34abc.def -NaN12-34abc.def
EXEC 0 -0 0. -0. 0.0 -0.0
TEST 05 'simple, right?'
EXEC 1 12 1.2 1.2.3