You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the only way to directly change the sign of a BigInt is to use.into_parts() and then BigInt::from_biguint(). It would be more convenient if we could directly set the sign, via a .set_sign() method or similar.
Especially for equations where terms of (-1)ⁿ are present, it would also be more convenient if there was a Mul<Sign> and MulAssign<Sign> impl so that one can e.g.
Currently, the only way to directly change the sign of a
BigInt
is to use.into_parts()
and thenBigInt::from_biguint()
. It would be more convenient if we could directly set the sign, via a.set_sign()
method or similar.Especially for equations where terms of (-1)ⁿ are present, it would also be more convenient if there was a
Mul<Sign>
andMulAssign<Sign>
impl so that one can e.g.The text was updated successfully, but these errors were encountered: