use fabs() for floating point, fixes build