PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: quiz answers

MIPS Floating Point Instructions

11/9/2011. MIPS Floating Point Instructions CS/COE 447. Why Floating Point ? Sometimes need very small, or very large numbers? Non-integers? or . Not always precise. Not all numbers can be represented Repeating digits , in base 10: 1/3 = Lack of precision , may not fit in the storage space allocated for the Floating Point number Single precision: 32-bits used to represent a number. float in C. Double precision: 64-bits used to represent a number. double in C. IEEE 754 standard 1. 11/9/2011. Single Precision Floating Point Format sign exponent fraction 0 00000000 0000000000000000 0000000.

11/9/2011 2 Single Precision Floating Point Format 0 •Sign: whether # is positive or negative •Exponent: makes value large or small •Fraction: the actual “number” •Value: -1sign∙ 1.fraction∙2(exponent-127) Special values exist for ±∞, NaN (not a number) There are some other exceptions/issues

Loading..

Tags:

  Floating

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of MIPS Floating Point Instructions

Related search queries