Hacker News new | ask | show | jobs
by thfuran 1256 days ago
Yeah, or using a type system that lets you avoid making NaN a float to both force the case to be handled and prevent NaN from leaking into the math.