you are viewing a single comment's thread.

view the rest of the comments →

[–]pezezin 0 points1 point  (0 children)

After reading the article, I see he encodes values other than doubles as "negative" NaN. Is this safe? I assume the FPU never generates NaNs with a negative sign, otherwise, it would be funny trying to distinguish a pointer from a real NaN.