Floating vs. fixed point processors, Fixed point arithmetic, Floating point arithmetic – Vodafone SS 08 User Manual

Page 36: Using signed and unsigned integers

Advertising
background image

TU Dresden, 4/29/2008

Slide 36

chair

Floating vs. Fixed point processors

ƒ

Fixed point arithmetic

‰

16-bit (integer or fractional)

‰

Signed or unsigned

ƒ

Floating point arithmetic

‰

32-bit single precision

‰

64-bit single precision

ƒ

Using signed and unsigned integers:

‰

Multiplication overflow.

‰

Addition overflow
Î

Saturate the result

Î

Double precision result

Î

Fractional arithmetic

e.g. If A and B are fractional then: A x B < min(A, B)

( )

( ) (

)

=

=

1

0

N

k

k

n

x

k

a

n

y

Advertising