コード例 #1
0
 public void Sub(DecimalRegister a, DecimalRegister b)
 {
     _representation = a._representation - b._representation;
 }
コード例 #2
0
 public void Mul(DecimalRegister a, DecimalRegister b)
 {
     _representation = a._representation * b._representation;
 }
コード例 #3
0
 public void Copy(DecimalRegister other)
 {
     _representation = other._representation;
 }
コード例 #4
0
 public void Div(DecimalRegister a, DecimalRegister b)
 {
     _representation = a._representation / b._representation;
 }
コード例 #5
0
 public void Add(DecimalRegister a, DecimalRegister b)
 {
     _representation = a._representation + b._representation;
 }