Hacker News new | ask | show | jobs
by BeetleB 1256 days ago
> An exception would be better.

It depends on the context. Sometimes NaNs are expected and to be ignored. Sometimes they signal a problem.