float_equal performs a regular comparison if not given a floating point type.