Build floating point comparison method