use fabs() for floating point
use fabs() for floating point