File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed
Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 11ulp-forth
22.vscode /
33dist /
4+ .DS_Store
45out.bin
56out.nonportable.S
67out.S
Original file line number Diff line number Diff line change 4141;
4242
4343: D0>
44- NIP 0>
44+ DUP 0< IF
45+ 2DROP FALSE EXIT
46+ THEN
47+ 0> IF
48+ DROP TRUE EXIT
49+ THEN
50+ 0<>
4551;
4652
4753: D<>
Original file line number Diff line number Diff line change @@ -1763,6 +1763,18 @@ func TestDoubleSuite(t *testing.T) {
17631763 T{ MIN-2INT D0< -> <TRUE> }T
17641764 ` ,
17651765 },
1766+ {
1767+ name : "D0>" ,
1768+ code : `
1769+ T{ 0. D0> -> <FALSE> }T
1770+ T{ 1. D0> -> <TRUE> }T
1771+ T{ MIN-INT 0 D0> -> <TRUE> }T
1772+ T{ 0 MAX-INT D0> -> <TRUE> }T
1773+ T{ MAX-2INT D0> -> <TRUE> }T
1774+ T{ -1. D0> -> <FALSE> }T
1775+ T{ MIN-2INT D0> -> <FALSE> }T
1776+ ` ,
1777+ },
17661778 {
17671779 name : "D0=" ,
17681780 code : `
You can’t perform that action at this time.
0 commit comments