Hacker News new | ask | show | jobs
by ambrop7 2344 days ago
You don't always need epsilon. I've written lots of floating point code that works well without epsilon checks. See my comment in this thread (double_to_uint64) how what the OP needs can be done correctly without an epsilon check.