Commodore PET User Manual page 69

Table of Contents

Advertisement

There is a Iimit to the magnitude of a number that the PET can handle,
even in scientific notation. The range limits are:
largest floating point number:
±1.7ü141183E+38
smallest floating point number:
±2.93873588E-39
Any number of larger magnitude will give an overflow error. Here are some
examples of overflow error:
?1.7C1141183E+:38
1.7C1141183E+38
F.:EAI''r'.
?-1.70141183E+38
-1.7C1141183E+38
F.:EAI"T' •
?1.7C1141184E+38
"?O"lEPFLOI'J
EPF~OF.:
...- - -
F.:EAD'T'.
?-1.70141184E+38
?O'·lEF.:FLOloJ EF.:F;OF.: ...- - -
Any number of smaller magnitude will yield a zero result. This may be il-
lustrated as follows:
2. 938?35:::8E-39
F.:EAD'T'.
?-2.93873588E-39
F.:EAD'T'.
'7-'2. 9:38735::::7E -39
F.:EAD'T'.
?-2.93873587E-39
56

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cbm

Table of Contents