support CompareDoubles