5.3 Number system Flashcards
Binary number system either be
signed or unsigned
unsigned represent
positive
signed represent
negative
adding unsigned binary rules:
- 0+0+0=0
- 0+0+1= 1
- 0+1+1= 10
- 1+1+1= 11
fixed point binary
● A specified number of bits are placed before a binary point
● The remaining bits fall behind the binary point
● Standard binary place values are used for columns before the binary point
● Columns behind the binary point start at ½, then ¼ and ⅛ etc.
Rounding errors
cannot be represented exactly
because of this binary no. inaccurate
absolute + relative errors
used to calculate how close a particular no. is to actual value
absolute error calc=
difference between given and actual
relative error calc=
relative = absolute error/actual value
large exponent and small mantissa allows for
large range, little precision
small exponent and large mantissa
small range, good precision
binary point close to left
gives good precision but small range
binary point close to right
gives poor precision good range
why are floating numbers normalised
to provide max level of precision
how to tell if number is floating or normalised
01 or 10