mirror of
https://github.com/irmen/prog8.git
synced 2024-11-27 03:50:27 +00:00
18 lines
260 B
Lua
18 lines
260 B
Lua
%import textio
|
|
%import floats
|
|
%option no_sysinit
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
|
|
ubyte bb = 199
|
|
txt.print_ub(sqrt(bb))
|
|
txt.nl()
|
|
float fl = 199.99
|
|
floats.print_f(floats.sqrtf(fl))
|
|
txt.nl()
|
|
}
|
|
}
|
|
|