3 ms·
You check the tag before doing float operations
by ithkuil 2y ago
You check the tag before doing float operations
- pansa2 2y agoAnd 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.