innerOrNilOrAlias is like inner, but with the added semantics specified for both innerOrNil and innerOrAlias. NOTE: this is not inlined.
(tmp *big.Int, a *BigInt, ai *big.Int)
| 156 | // both innerOrNil and innerOrAlias. |
| 157 | // NOTE: this is not inlined. |
| 158 | func (z *BigInt) innerOrNilOrAlias(tmp *big.Int, a *BigInt, ai *big.Int) *big.Int { |
| 159 | if z == nil { |
| 160 | return nil |
| 161 | } else if z == a { |
| 162 | return ai |
| 163 | } |
| 164 | return z.inner(tmp) |
| 165 | } |
| 166 | |
| 167 | // updateInner updates the BigInt's current value with the provided *big.Int. |
| 168 | // |