CS - Data Rep - FPR Flashcards
1
Q
How are real numbers stored in a computer?
A
using Floating Point Representation
2
Q
When more bits of storage is given to the mantissa…
A
…more decimal places can be stored, so the accuracy of the numbers is increased
3
Q
What is the exponent and what does it control?
A
- Exponent = Position of the decimal point
- Controls the range of a number (how large it can be)
4
Q
Define Floating Point Representation and Real numbers, highlighting their correlation.
A
- It is used to store real numbers. This stores 2 numbers to represent the real number - mantissa and exponent.
- Real numbers are numbers with a decimal point or fractions.
5
Q
What is the mantissa and what does it control?
A
- Mantissa = Actual digits of the number
- Controls the precision of a number
6
Q
The more bits allocated to the exponent in memory…
A
…the larger the range of numbers can be stored