public static bool operator >(RoundedDouble x1, double x2) { if (!(x1 == x2)) { return(x1.m_value - RoundedDouble.GetRoundingDelta(x1) > x2); } return(false); }
public static bool operator <=(RoundedDouble x1, double x2) { if (!(x1 == x2)) { return(x1.m_value + RoundedDouble.GetRoundingDelta(x1) <= x2); } return(true); }
public static bool operator ==(RoundedDouble x1, double x2) { if (x2 - RoundedDouble.GetRoundingDelta(x1) <= x1.m_value) { return(x2 + RoundedDouble.GetRoundingDelta(x1) >= x1.m_value); } return(false); }