Hacker News new | ask | show | jobs
by kazinator 893 days ago
We have no idea whether the bytes that were copied into that object are a valid representation.
1 comments

Ah, I didn't think of that.

That being said, is there a representation for doubles that could be considered invalid? I thought all double bit patterns are interpretable as a "valid" double, even if you get NaNs.