prog8/examples/test.p8
Irmen de Jong 319079de7a sqrt
2023-05-02 01:19:53 +02:00

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()
}
}