support int64 in equalsWithTolerance checker