The Computer With High Level Programming Facility Must Have A Provision of Floating Point Arithmetic Operations There Are Two Ways
The Computer With High Level Programming Facility Must Have A Provision of Floating Point Arithmetic Operations There Are Two Ways
The Computer with high level programming facility must have a provision of floating point arithmetic operations There are two ways
A internal Hardware Compiler must be designed with a package of floating point sub-routines
m*re
Floating point increases the range of numbers that can be store in a computer It increases the accuracy of a number
Example:
8bits 28 ie ., the max number can be stored is 256 4 bits ( m) 24 4 bits ( e) 24
Floating Point
(.54+.054) * 104
Adjustment of exponent and mantissa require shifting of bits either right or left A floating point operation may produce one of these conditions
Exponent Overflow Exponent Underflow Mantissa Underflow Mantissa Overflow
FP Arithmetic +/ Check for zeros Align significands (adjusting exponents) Add or subtract significands Normalize result