Add messages to some todo items
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
This commit is contained in:
parent
52ce18b897
commit
1e7588cf52
@ -243,7 +243,7 @@ impl BigInt {
|
|||||||
let (res, overflowed) = a.overflowing_mul(b);
|
let (res, overflowed) = a.overflowing_mul(b);
|
||||||
|
|
||||||
if overflowed {
|
if overflowed {
|
||||||
todo!()
|
todo!("Multiplication overflow not yet implemented")
|
||||||
} else {
|
} else {
|
||||||
let (res, overflowed) = res.overflowing_add(carry);
|
let (res, overflowed) = res.overflowing_add(carry);
|
||||||
|
|
||||||
@ -372,7 +372,7 @@ impl Div for BigInt {
|
|||||||
|
|
||||||
#[must_use]
|
#[must_use]
|
||||||
fn div(self, _rhs: Self) -> Self::Output {
|
fn div(self, _rhs: Self) -> Self::Output {
|
||||||
todo!()
|
todo!("Division is not yet implemented")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ impl Rem for BigInt {
|
|||||||
|
|
||||||
#[must_use]
|
#[must_use]
|
||||||
fn rem(self, _rhs: Self) -> Self::Output {
|
fn rem(self, _rhs: Self) -> Self::Output {
|
||||||
todo!()
|
todo!("Modulus is not yet implemented")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user