4.5.4.7 Range and precision Flashcards
What are the advantages and disadvantages of
fixed point representation?
Numbers are represented exactly
Faster for a human to understand and calculate
Provide a very limited range
What are the advantages and disadvantages of
floating point representation?
Provides a very large range in less space
Less precise
What is the largest positive number you can represent in floating point?
Mantissa: 0.111111111
Exponent: 011111
What is the smallest positive number you can represent?
Mantissa: 0.000000001
Exponent: 100000
What is the smallest negative number you can represent?
Mantissa: 1.111111111
Exponent: 100000
What is the largest negative number you can represent?
Mantissa: 1.000000000
Exponent: 011111