Efficiently represent 16777217 as a float

Viewed 484

Browsing job advertisements, I saw the following question:

Do you understand what it takes to efficiently represent 16,777,217 as a float? [Siemens]

I don't understand the question. I know that 16,777,216 = 224 is the last integer in the sequence [0, 1, ..., N] that can be represented as a float exactly. How can 16,777,217 be represented as a float "efficiently"? 16,777,216 + 1? But that's two floats.

Please give a hint.

0 Answers
Related