deleted macro and comparing floating point with == or !=