News for hackers. Stuff that matters.
Re:Float Self-Tagging by ithkuil on Thursday November 28, 2024 @06:32AM (#42264475)
You check the tag before doing float operations
Re:Float Self-Tagging by pansa2 on Thursday November 28, 2024 @08:56AM (#42265279)
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.