764
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
• If 2BH(+) is specified for the sign or the sign is omitted in exponential format, the converted single-precision real number is
treated as a positive value. If 2DH(-) is specified for the sign in the exponent, it is treated as a negative value.
• If 20H (space) or 30H (0) exists between digits excluding the first 0 in the character string in the device specified by (s), the
instruction performs conversion by ignoring 20H and 30H.
• If 30H (0) exists between "E" and a numerical value in the character string in exponential format, the instruction performs
conversion by ignoring 30H.
(1) Ignored.
(2) Single-precision real number
Error code
(SD0)
Description
2820H 00H does not exist within the range of the relevant device specified by (s).
3401H An out-of-range value is set to (s).
• The integral part or decimal part contains a character other than 30H (0) to 39H (9).
• The specified string contains two or more 2EH (.)
• The exponent of the specified string contains a character other than 45H (E), 65H (e), 2BH (+), and 2DH (-).
• The specified string contains more than one exponent 45H (E) or 65H (e).
• The exponent in the specified string contains a numerical value consisting of three digits or more.
• The exponent of the specified string contains more than one sign 2BH (+) or 2DH (-).
• The specified string contains more than one sign 2BH (+) or 2DH (-) in the integral part of decimal point format or in the mantissa of
exponential format.
• The number of characters in the device specified by (s) and later is 0 or exceeds 24.
3403H The data output from (d) exceeds the following range. (An overflow has occurred.)
|(d)|<2
128
(d)(d)+1
2EH (.)
34H (4)
33H (3)
2DH (-)
30H (0)
2BH (+)
33H (3)
35H (5)
45H (E)
30H (0)
-
401-. +5E
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
b15 b0 b7b8
00H
31H (1)
33
1 . 0 4 5 3 E + 0 3
(2)
(1)
20H (space)