top | item 13769399

(no title)

drv | 9 years ago

nextAfter is probably also including the denormals (an additional 2^23 values near 0).

discuss

order

mturmon|9 years ago

Yep:

  1,056,964,609 - 1,065,353,216 = 8388607 = 2^23 - 1
because the denormal that is all-zero is already present.

mark-r|9 years ago

And the author explicitly stated he was excluding the denormals.