05.03.2015 Views

Representation of Floating Point Numbers in Single Precision ...

Representation of Floating Point Numbers in Single Precision ...

Representation of Floating Point Numbers in Single Precision ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(1)<br />

Start<br />

Is one/both<br />

operands =0?<br />

Simplified <strong>Float<strong>in</strong>g</strong> <strong>Po<strong>in</strong>t</strong><br />

Multiplication Flowchart<br />

Set the result to zero:<br />

exponent = 0<br />

(2)<br />

(3)<br />

(4)<br />

(5)<br />

Compute sign <strong>of</strong> result: Xs XOR Ys<br />

Multiply the mantissas<br />

Round or truncate the result mantissa<br />

Compute exponent:<br />

biased exp.(X) + biased exp.(Y) - bias<br />

Normalize mantissa if needed<br />

(6)<br />

Generate exception<br />

or return error<br />

Overflow or<br />

Underflow?<br />

Done<br />

EECC250 - Shaaban<br />

#14 lec #17 W<strong>in</strong>ter99 1-27-2000

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!