2024-11-19 19:36:00 +00:00
|
|
|
%import textio
|
2024-11-21 23:44:00 +00:00
|
|
|
%import floats
|
2024-11-19 22:46:25 +00:00
|
|
|
%option no_sysinit
|
2024-11-21 21:12:32 +00:00
|
|
|
%zeropage basicsafe
|
2024-11-15 19:56:56 +00:00
|
|
|
|
2024-11-13 23:54:07 +00:00
|
|
|
main {
|
2024-11-11 23:11:19 +00:00
|
|
|
sub start() {
|
2024-11-21 21:58:25 +00:00
|
|
|
txt.print_b(sys.MIN_BYTE)
|
|
|
|
txt.spc()
|
|
|
|
txt.print_b(sys.MAX_BYTE)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_ub(sys.MIN_UBYTE)
|
|
|
|
txt.spc()
|
|
|
|
txt.print_ub(sys.MAX_UBYTE)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_w(sys.MIN_WORD)
|
|
|
|
txt.spc()
|
|
|
|
txt.print_w(sys.MAX_WORD)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_uw(sys.MIN_UWORD)
|
|
|
|
txt.spc()
|
|
|
|
txt.print_uw(sys.MAX_UWORD)
|
|
|
|
txt.nl()
|
|
|
|
txt.nl()
|
|
|
|
|
2024-11-21 23:44:00 +00:00
|
|
|
txt.print_f(floats.EPSILON)
|
2024-11-21 21:12:32 +00:00
|
|
|
txt.nl()
|
2024-11-21 23:44:00 +00:00
|
|
|
txt.print_f(sys.MIN_FLOAT)
|
2024-11-21 21:12:32 +00:00
|
|
|
txt.nl()
|
2024-11-21 23:44:00 +00:00
|
|
|
txt.print_f(sys.MAX_FLOAT)
|
2024-11-21 21:12:32 +00:00
|
|
|
txt.nl()
|
2024-11-21 23:44:00 +00:00
|
|
|
txt.print_f(floats.E)
|
2024-11-21 21:12:32 +00:00
|
|
|
txt.nl()
|
2024-11-21 21:58:25 +00:00
|
|
|
txt.print_ub(sys.SIZEOF_FLOAT)
|
|
|
|
txt.nl()
|
2024-11-08 18:43:59 +00:00
|
|
|
}
|
2024-11-05 22:56:58 +00:00
|
|
|
}
|