(2) Non-normalized Numbers
Non-normalized numbers express real numbers with very small absolute values. The sign bit will be 0
for a positive number and 1 for a negative number.
The exponent (e) will be 0, and the real exponent will be –126.
The mantissa (f) will be expressed from 1 to 2
is 0 and the binary point follows immediately after it.
Non-normalized numbers are expressed as follows:
(sign s)
–126
(–1)
2
Example
Sign:
–
Exponent:
–126
Mantissa:
0 + (2
Value:
–0.75
(3) Zero
Values of +0.0 and –0.0 can be expressed by setting the sign to 0 for positive or 1 for negative. The
exponent and mantissa will both be 0. Both +0.0 and –0.0 are equivalent to 0.0. Refer to Floating-point
Arithmetic Results, below, for differences produced by the sign of 0.0.
(4) Infinity
Values of +
and –
exponent will be 255 (2
(5) NaN
NaN (not a number) is produced when the result of calculations, such as 0.0/0.0, / , or – , does not
correspond to a number or infinity. The exponent will be 255 (2
Note There are no specifications for the sign of NaN or the value of the mantissa field (other than to be not 0).
CS/CJ/NSJ Series Instructions Reference Manual (W474)
–23
(mantissa x 2
)
31 30
23 22
0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
22
21
–23
–1
+ 2
)
2
= 0 + (2
–126
2
can be expressed by setting the sign to 0 for positive or 1 for negative. The
8
– 1) and the mantissa will be 0.
23
– 1, and it is assume that, in the real mantissa, bit 2
0
–2
+ 2
) = 0 + 0.75 = 0.75
8
– 1) and the mantissa will be not 0.
3. Instructions
23
3
461
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?
Questions and answers