7-225
EVAL(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.12 Conversion from character string to floating decimal point data (EVAL(P))
(b) When using exponent format
(3) Excluding the sign, decimal point, and exponent portion of the result, 6 digits of the character
string designated by to be converted to a 32-bit floating decimal point type real number
will be effective; the 7th digit on later digit will be cut from the result.
(a) When using decimal point format
(b) When using exponent format
(4) In the decimal point format, if "2B
H
" (+) is specified for the sign or if the designation of sign is
omitted, conversion is made assuming a positive value.
If "2D
H
" (-) is specified for the sign, the character string is converted assuming a negative
value.
(5) In the exponent format, if "2B
H
" (+) is specified for the sign in the exponent portion or if the
designation of sign is omitted, conversion is made assuming a positive value.
If "2D
H
" (-) is specified for the sign in the exponent portion, the character string is converted
assuming a negative value.
+1
2DH (-)20H (space)
31
H (1)2EH (.)
b15
b7
b0
+2
33
H (3)32H (2)
30
H (0)31H (1)
+3
45
H (E)2BH (+)
31
H (1)
+4
+5
+1
30H (0)
00H
-1.
3
2
01
E
+
1
0
1
1 . 3 2 0 1 E
+
1 0
32-bit floating-point
real number
+6
b8
S
S
S
S
S
S
S
D D
S
+1
2DH (-)20H (space)
20
H (space)31H (1)
b15 b8
b7
b0
+2
2E
H (.)33H (3)
30
H (0)31H (1)
+3
35
H (5)36H (6)
38
H (8)
+4
+5
31H (1)
+6 32
H (2)
00H
1- .
3 0
1
5 6 8
1 2
These are cut
+1
32-bit floating-point real numbe
r
-1.
30
1
56
S
D
S
S
S
S
S
S
D
+1
2DH (-)20H (space)
31
H (1)2EH
b15 b8
b7
b0
+2
33
H (3)35H (5)
(.)
30
H (0)33H (3)
+3
34
H (4)31H (1)
32
H (2)
+4
+5
45H (E)
+6
2D
H (-)
30
H (0)
32H (2)
00H
+1
32-bit floating-point
real number
-1
.
350 34 E- 2
+7
.
3 5 0 3
4 1 2 E
0
-
21-
These are cut
S
S
S
S
S
S
S
S
D D