OFFSET
2,1
COMMENTS
A floating point number in Commodore BASIC has five bytes: one bit for the sign, 31 bits for the mantissa, eight bits for the exponent.
LINKS
C64 Wiki, Floating point arithmetic
Wikipedia, Commodore BASIC
PROG
(BASIC)
10 FOR N=2 TO 66
20 A=1
30 I=1
40 A=A/N
50 IF A>0 THEN I=I+1:GOTO 40
60 PRINT I;
70 NEXT
CROSSREFS
KEYWORD
nonn,fini
AUTHOR
Markus Sigg, Aug 13 2020
STATUS
approved