Hacker News new | ask | show | jobs
by wjbr 606 days ago
static int pretty_float_equal (float a, float b) { return fabsf(a - b) < FLT_EPSILON; }