Operation rules
The result of an operation is output as shown below depending on the combination of floating-point
data.
DOUBLE FLOATING-POINT ADD (+D)
Addend
0
Numeral
+
–
NaN
* *: The results could be zero (including underflows), a numeral, +o, or -o.
ER: The Error Flag will be turned ON and the instruction will not be executed.
DOUBLE FLOATING-POINT SUBTRACT (-D)
Subtrahend
0
Numeral
+
–
NaN
* *: The results could be zero (including underflows), a numeral, +o, or -o.
ER: The Error Flag will be turned ON and the instruction will not be executed.
DOUBLE FLOATING-POINT MULTIPLY ( D)
Multiplier
0
Numeral
+
–
NaN
* *: The results could be zero (including underflows), a numeral, +o, or -o.
ER: The Error Flag will be turned ON and the instruction will not be executed.
DOUBLE FLOATING-POINT DIVIDE (/D)
Divisor
0
Numeral
+
–
NaN
results will be zero for underflows.
* : The
* *: The results could be zero (including underflows), a numeral, +o, or -o.
ER: The Error Flag will be turned ON and the instruction will not be executed.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
0
Numeral
0
Numeral
Numeral
**
+
+
–
–
0
Numeral
0
Numeral
Numeral
**
–
–
+
+
0
Numeral
0
0
0
**
ER
+/–
ER
+/–
0
Numeral
ER
+/–
0
**
0
*
0
*
Augend
+
–
+
–
+
–
+
ER
ER
–
Minuend
+
–
+
–
+
–
ER
–
+
ER
Multiplicand
+
–
ER
ER
+/–
+/–
+
–
–
+
Dividend
+
–
+
–
+/–
+/–
ER
ER
ER
ER
3. Instructions
NaN
ER
3
NaN
ER
NaN
ER
NaN
ER
527
Need help?
Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?
Questions and answers