mirror of
https://github.com/irmen/prog8.git
synced 2024-10-16 18:23:59 +00:00
16 lines
234 B
Plaintext
16 lines
234 B
Plaintext
|
%import c64flt
|
||
|
%zeropage basicsafe
|
||
|
|
||
|
main {
|
||
|
sub start() {
|
||
|
float f1 = 2.2
|
||
|
float f2 = 1.0
|
||
|
float f4 = 4.0
|
||
|
float f5 = 5.0
|
||
|
|
||
|
f1 /= f2+f4
|
||
|
c64flt.print_f(f1)
|
||
|
c64.CHROUT('\n')
|
||
|
}
|
||
|
}
|