Hacker News new | ask | show | jobs
by ithkuil 565 days ago
You check the tag before doing float operations
1 comments

And afterwards, because floating-point arithmetic can change the value of the tag. This isn't necessary with NaN-boxing, because it uses NaN bit patterns that the hardware never generates.