Remix.run Logo
ithkuil 7 months ago

You check the tag before doing float operations

pansa2 7 months ago | parent [-]

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.