Results for ysh-int-float.test.sh

statusoshosh-cpp
pass 1111
total1111
caseoshosh-cppdescription
0pass pass Float Literals with e-1
1pass pass Float Literal with _
2pass pass Period requires digit on either side, not 5. or .5
3pass pass Big float Literals with _
4pass pass Big floats like 1e309 and -1e309 go to Inf / -Inf
5pass pass Tiny floats go to zero
6pass pass floatEquals() INFINITY NAN
7pass pass pretty print INFINITY, -INFINITY, NAN
8pass pass can't convert NAN, INFINITY to integer
9pass pass Regression: 1/3 gives 0.3+
10pass pass Number of digits in 1/3
22 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped