2017-05-02 10:55:12 +02:00
|
|
|
## GENERAL
|
|
|
|
|
|
|
|
# std
|
|
|
|
erase
|
|
|
|
1
|
|
|
|
10 std
|
|
|
|
-> stack should be 1
|
|
|
|
|
|
|
|
3 /
|
|
|
|
-> stack should be 0.3333333333
|
|
|
|
|
|
|
|
3 std
|
|
|
|
-> stack should be 0.333
|
|
|
|
|
|
|
|
# fix
|
|
|
|
drop
|
|
|
|
10 fix
|
|
|
|
1
|
|
|
|
-> stack should be 1.0000000000
|
|
|
|
|
|
|
|
4 fix
|
|
|
|
-> stack should be 1.0000
|
|
|
|
|
|
|
|
# sci
|
|
|
|
12 sci
|
|
|
|
-> stack should be 1.000000000000e+00
|
|
|
|
|
|
|
|
2 sci
|
|
|
|
-> stack should be 1.00e+00
|
|
|
|
drop
|
|
|
|
|
|
|
|
# version
|
|
|
|
version
|
|
|
|
->stack size should be 1
|
|
|
|
|
|
|
|
uname
|
|
|
|
->stack size should be 2
|
2017-05-12 17:27:40 +02:00
|
|
|
erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
2017-05-12 17:27:40 +02:00
|
|
|
# default
|
|
|
|
1
|
|
|
|
-> stack should be 1.00e+00
|
|
|
|
default
|
|
|
|
-> stack should be 1
|
2017-05-02 10:55:12 +02:00
|
|
|
erase
|
|
|
|
|
|
|
|
# type
|
|
|
|
1
|
|
|
|
type
|
2017-05-12 17:27:40 +02:00
|
|
|
-> stack should be 1, 'number'
|
|
|
|
erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
|
|
|
"hey"
|
|
|
|
type
|
2017-05-12 17:27:40 +02:00
|
|
|
-> stack should be "hey", 'string'
|
|
|
|
erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
|
|
|
<< -> n << n >> >>
|
|
|
|
type
|
2017-05-12 17:27:40 +02:00
|
|
|
-> stack should be << -> n << n >> >>, 'program'
|
|
|
|
erase
|