public bool Equals(RationalValue other) { return(other != null && _dataValue.IsReal && _dataValue.Real == other.ToDouble()); }
public ComplexValue(RationalValue realValue) { _dataValue.Real = realValue.ToDouble(); }