
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.
Содержание Basic Interpreter Basic 80
Страница 1: ...5IA iC intc tit tcl c t ...
Страница 2: ......
Страница 6: ... ...
Страница 10: ......
Страница 26: ......
Страница 33: ...2 5 Intentially left blank ...
Страница 37: ...BASIC SO COMMANDS AND STATEMENTS 2 9 Intentially left blank ...
Страница 40: ...410 DEF FNAB X Y XA3 YA2 420 T FNAB I J Line 410 de ines the function function is called in line 420 ...
Страница 112: ......
Страница 136: ......
Страница 140: ......
Страница 160: ......
Страница 165: ......
Страница 166: ......
Страница 174: ......
Страница 176: ......
Страница 182: ......
Страница 184: ......
Страница 190: ......