Range and Precision of a Fixed Point number (Need of Fixed Point Numbers)
Range and Precision The range of a number gives the limits of the representation, while the precision gives the distance between successive numbers in the representation. The range and precision of a fixed-point number depend on the length of the word and the scaling. Range The following figure illustrates the range of representable numbers for an unsigned fixed-point number of size ws , scaling S , and bias B . The following figure illustrates the range of representable numbers for a two's complement fixed-point number of size ws , scaling S , and bias B where the values of ws , scaling S , and bias B allow for both negative and positive numbers. For both the signed and unsigned fixed-point numbers of any data type, the number of different bit patterns is 2 ws . For example, if the fixed-point data type is an integer with scaling defined as S = 1 and B...