|
por este dispositivo também tem outras instruções :
Facilidade de uso
T
able
3-3.
Type
Conv
ersion
for
Arithmetic
Assignment
Statements
of
the
Form:
V
ariable
=
Expression
Rule
V
ariable
Expression
T
yp e
Rules
T
yp e
a.
INTEGER* k
INTEGER* n
If
k
n
,
assign
INTEGER* k
.
If
k
(or
LOGI-
<
n
,
assign
least
signicant
b
yte
or
CAL* k
)
half
w
ord
to
v
ariable.
See
Note
1.
(see
Note
3)
b.
INTEGER* k
REAL* n
T
runcation.
(or
LOGI-
CAL* k
)
(see
Note
3)
c.
INTEGER* k
COMPLEX*8
Real
part
is
REAL*4.
Apply
rule
b
(or
LOGI-
to
real
part.
Imaginary
part
is
not
CAL* k
)
used.
(see
Note
3)
d.
INTEGER* k
COMPLEX*16
Real
part
is
REAL*8.
Apply
rule
b
(or
LOGI-
to
real
part.
Imaginary
part
is
not
CAL* k
)
used.
(see
Note
3)
e.
REAL* k
INTEGER* n
Float
and
assign
REAL* k
.
See
Note
2.
f.
REAL* k
REAL* n
Round
and
assign
REAL* k
.
g.
REAL* k
COMPLEX*8
Real
part
is
REAL*4.
Apply
rule
f
to
real
part.
Imaginary
part
is
not
used.
h.
REAL* k
COMPLEX*16
Real
part
is
REAL*8.
Apply
rule
f
to
real
part.
Imaginary
part
is
not
used.
i.
COMPLEX*8
INTEGER
or
Con
v
ert
to
REAL*4
b
y
rule
e
or
f
REAL
and
assign
to
real
part.
Imaginary
part
=
0.
j.
COMPLEX*16
INTEGER
or
Con
v
ert
to
REAL*8
b
y
rule
e
or
f
REAL
and
assign
to
real
part.
Imaginary
part
=
0.
k.
COMPLEX*
k
COMPLEX*
n
Apply
rule
f
to
real
and
imaginary
parts.
Notes
for
T
able
3-3
1.
If
the
v
alue
of
the
expression
is
b et
w
een
032768
and
+32767,
the
result
of
the
con
v
ersion
from
INTEGER*4
to
INTEGER*2
is
correct;
otherwise,
the
result
is
incorrect.
F
ORTRAN
Statements
3-13
... Este manual também é adequado para os modelos :
Software - MPE/iX 6.5 Operating System (1.65 mb)
Software - MPE/iX 7.0 Operating System (1.65 mb)
Software - MPE/iX 7.5 Operating System (1.65 mb)