
3.
Floating Point
constants
Positive or negative numbers repre-·
sented in exponential form (similar
to
scientific
notation).
A
floating point constant consists of
an
optionally
signed
integer
or
fixed point number
(the
mantissa)
followed
by
the
letter
E and an
optionally
signed
integer
(the
exponent).
The exponent must be in
the range -38 to +38.
Examples:
235.988E-7
=
.0000235988
2359E6 • 2359000000
(Double
precision
floating
point
constants
use the letter D instead
of E.
S~e Section 1.5.1.)
Hexadecimal numbers with the prefix
&H.Examples:
&H76
&H32!'
Octal numbers with the prefix &0 or
&.
Examples:
&0347
&1234
1.5.1
Single ~
Double Precision
!2E!~
Numeric constants
In the SK version of BASIC-SO,
all
numeric
constants
are
single
precision numbers.
They are stored with 7 digits of
precision, and printed with up to 6 digits.
In .the
Extended
and
Disk
versions,
however,
numeric
constants may be either single precision or double prec~s~on
numbers.
With double precision, the numbers are stored with
16 digits of precision, and printed with up to 16 digits.
Summary of Contents for Basic Interpreter Basic 80
Page 1: ...5IA iC intc tit tcl c t ...
Page 2: ......
Page 6: ... ...
Page 10: ......
Page 26: ......
Page 33: ...2 5 Intentially left blank ...
Page 37: ...BASIC SO COMMANDS AND STATEMENTS 2 9 Intentially left blank ...
Page 112: ......
Page 136: ......
Page 140: ......
Page 160: ......
Page 165: ......
Page 166: ......
Page 174: ......
Page 176: ......
Page 182: ......
Page 184: ......
Page 190: ......