Beispiel #1
0
 public bool Equals(EngValue other)
 {
     return(Equals(other.Value));
 }
Beispiel #2
0
 public bool Equals(EngValue other, double relative_tolerance)
 {
     return(Equals(other.Value, relative_tolerance));
 }
Beispiel #3
0
 public EngValue Subtract(EngValue other)
 {
     return(new EngValue(Value - other.Value));
 }
Beispiel #4
0
 public EngValue Add(EngValue other)
 {
     return(new EngValue(Value + other.Value));
 }
Beispiel #5
0
 public EngValue Divide(EngValue other)
 {
     return(new EngValue(Value / other.Value));
 }
Beispiel #6
0
 public EngValue Multiply(EngValue other)
 {
     return(new EngValue(Value * other.Value));
 }
Beispiel #7
0
 public EngValue(EngValue other)
 {
     this.Sign     = other.Sign;
     this.Scalar   = other.Scalar;
     this.Exponent = other.Exponent;
 }