▲ | ithkuil 5 hours ago | |
You check the tag before doing float operations | ||
▲ | pansa2 3 hours 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. |