English
Language : 

SH7058 Datasheet, PDF (106/1130 Pages) Renesas Technology Corp – Renesas SuperHTM RISC engine
3.3 Floating-Point Format
3.3.1 Floating-Point Format
The SH7058 supports single-precision floating-point operations, and fully complies with the
IEEE754 floating-point standard.
A floating-point number consists of the following three fields:
• Sign (s)
• Exponent (e)
• Fraction (f)
The exponent is expressed in biased form, as follows:
e = E + bias
The range of unbiased exponent E is Emin – 1 to Emax + 1. The two values Emin – 1 and Emax + 1 are
distinguished as follows. Emin – 1 indicates zero (both positive and negative sign) and a
denormalized number, and Emax + 1 indicates positive or negative infinity or a non-number (NaN).
In a single-precision operation, the bias value is 127, Emin is –126, and Emax is 127.
31 30
23 22
0
s
e
f
Figure 3.3 Floating-Point Number Format
Floating-point number value v is determined as follows:
If E = Emax + 1 and f! = 0, v is a non-number (NaN) irrespective of sign s
If E = Emax + 1 and f = 0, v = (-1)s (infinity) [positive or negative infinity]
If Emin <= E <= Emax , v = (-1)s2E (1.f) [normalized number]
If E = Emin – 1 and f! = 0, v = (-1)s2Emin (0.f) [denormalized number]
If E = Emin – 1 and f = 0, v = (-1)s0 [positive or negative zero]
Rev. 3.0, 09/04, page 65 of 1086