spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 9 | 7 | |
FAIL | 0 | 2 | |
total | 9 | 9 | |
case | osh | osh-cpp | description |
0 | pass | pass | Float Literals with e-1 |
1 | pass | pass | Float Literal with _ |
2 | pass | pass | Period requires digit on either side, not 5. or .5 |
3 | pass | FAIL | Big float Literals with _ |
details | |||
4 | pass | pass | Big floats like 1e309 and -1e309 go to Inf / -Inf |
5 | pass | pass | Tiny floats go to zero |
6 | pass | pass | floatEquals() INFINITY NAN |
7 | pass | FAIL | Regression: 1/3 gives 0.3+ |
details | |||
8 | pass | pass | Number of digits in 1/3 |
16 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh-cpp | 3 Big float Literals with _ [osh-cpp stdout] Expected '42000.0005\n420000.005\n4200.00005\n', got '42000.000500000002\n420000.005\n4200.0000499999996\n' stdout: 42000.000500000002 420000.005 4200.0000499999996stderr: |
osh-cpp | 7 Regression: 1/3 gives 0.3+ [osh-cpp stdout] Expected 'one-third\ntwo-thirds\n', got 'one-third\n' stdout: one-thirdstderr: |