PDF4PRO ⚡AMP

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

Example: dental hygienist

This Unit: Floating Point Arithmetic

Back to document page

CIS371 (Roth/Martin): Floating Point1CIS 371Computer Organization and DesignUnit 7: Floating PointCIS371 (Roth/Martin): Floating Point2This Unit: Floating Point Arithmetic Formats Precision and range IEEE 754 standard Operations Addition and subtraction Multiplication and division Error analysis Error and bias Rounding and truncationCPUMemI/OSystem softwareAppAppAppCIS371 (Roth/Martin): Floating Point3Readings P+H Chapter and (Roth/Martin): Floating Point4Floating Point (FP) Numbers Floating Point numbers: numbers in scientific notation Two uses Use I: real numbers (numbers with non-zero fractions) * 10 34 Use II: really big numbers * 108 * 1023 Aside: best not used for currency valuesCIS371 (Roth/Martin): Floating Point5The Land Before Floating Point Early computers were built for scientific calculations ENIAC: ballistic firing tables ...But didn t have primitive Floating Point data types Many embedded chips today lack Floating Point hardware Programmers built scale factors into programs Large constant multiplier turns all FP numbers to integers inputs multiplied by scale factor manually Outputs divided by scale factor manually Sometimes called fixed Point arithmeticCIS371 (Roth/Martin): Floating Point6The Fixed Width Dilemma Natural Arithmetic has infinite width Infinite number of integers Infinite number of reals Infinitely more reals than integers ( ) Har

IEEE 754: Infinity and Beyond •What are infinity and NaN used for? •To allow operations to proceed past overflow/underflow situations •Overflow: operation yields exponent greater than 2N–1–1 •Underflow: operation yields exponent less than –2N–1+2 •IEEE 754 defines operations on infinity and NaN •N / 0 = infinity •N ...

  Beyond, Infinity, Infinity and beyond

Download This Unit: Floating Point Arithmetic


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

Related search queries