CPSC 2310 - DAY 25 NOVEMBER 11, 2016 ================================================================================ FLOATING POINT -------------- .Use positional representation to convert a binary fraction to a decimal value .011 (base 2) = 0*2^(-1) + 1*2^(-2) + 1*2^(-3) 0 * 0.5 + 1 * 0.25 + 1 * 0.125 0.375 To convert 0.375 to binary fraction we can use repeated multiplication automatic scaling by hardware normal form - number represented as 1.fraction times an appropriate exponent exponent uses bias notation so that negative exponents have leading zeros +---+---+----------+ | s |exp| fraction | value = (-1)^s * 1.fraction * 2^exp +---+---+----------+ exponent uses bias notation so that negative exponents have leading zeros precision - how many digits are used to represent a number. accuracy - how correct the number is.