Question: How could you find out how many floating point numbers there are on your computer? A: There are uncountably infinite floating point numbers, so there's
How could you find out how many floating point numbers there are on your computer?
A: There are uncountably infinite floating point numbers, so there's no real
answer here.
B: You could set each bit in the floating point representation to and then
to and iterate over all possible assignments.
C: You would need to use approximate comparisons, since you don't want to
directly check the results of floating point math for equality.
D: There are countably infinite floating point numbers, so there's no real
answer here.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
