(Precise other)
| 105 | } |
| 106 | |
| 107 | public Precise or(Precise other) { |
| 108 | BigInteger integer = this.integer.or(other.integer); |
| 109 | int decimals = toInt(this.decimals) + toInt(other.decimals); |
| 110 | return new Precise(integer.toString(), decimals); |
| 111 | } |
| 112 | |
| 113 | public Precise neg() { |
| 114 | return new Precise(this.integer.negate().toString(), this.decimals); |