Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 668ea32

Browse files
committed
todo -> unimplemented for f8 since we probably won't implement anything
1 parent d2ab22c commit 668ea32

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

crates/libm-test/src/f8_impl.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ impl Float for f8 {
6363
}
6464

6565
fn exp(self) -> Self::ExpInt {
66-
todo!()
66+
unimplemented!()
6767
}
6868

6969
fn from_bits(a: Self::Int) -> Self {
7070
Self(a)
7171
}
7272

7373
fn normalize(_significand: Self::Int) -> (i32, Self::Int) {
74-
todo!()
74+
unimplemented!()
7575
}
7676
}
7777

@@ -357,26 +357,26 @@ impl f8 {
357357
impl ops::Add for f8 {
358358
type Output = Self;
359359
fn add(self, _rhs: Self) -> Self::Output {
360-
todo!()
360+
unimplemented!()
361361
}
362362
}
363363

364364
impl ops::Sub for f8 {
365365
type Output = Self;
366366
fn sub(self, _rhs: Self) -> Self::Output {
367-
todo!()
367+
unimplemented!()
368368
}
369369
}
370370
impl ops::Mul for f8 {
371371
type Output = Self;
372372
fn mul(self, _rhs: Self) -> Self::Output {
373-
todo!()
373+
unimplemented!()
374374
}
375375
}
376376
impl ops::Div for f8 {
377377
type Output = Self;
378378
fn div(self, _rhs: Self) -> Self::Output {
379-
todo!()
379+
unimplemented!()
380380
}
381381
}
382382

@@ -390,25 +390,25 @@ impl ops::Neg for f8 {
390390
impl ops::Rem for f8 {
391391
type Output = Self;
392392
fn rem(self, _rhs: Self) -> Self::Output {
393-
todo!()
393+
unimplemented!()
394394
}
395395
}
396396

397397
impl ops::AddAssign for f8 {
398398
fn add_assign(&mut self, _rhs: Self) {
399-
todo!()
399+
unimplemented!()
400400
}
401401
}
402402

403403
impl ops::SubAssign for f8 {
404404
fn sub_assign(&mut self, _rhs: Self) {
405-
todo!()
405+
unimplemented!()
406406
}
407407
}
408408

409409
impl ops::MulAssign for f8 {
410410
fn mul_assign(&mut self, _rhs: Self) {
411-
todo!()
411+
unimplemented!()
412412
}
413413
}
414414

@@ -459,7 +459,7 @@ impl cmp::PartialOrd for f8 {
459459
}
460460
impl fmt::Display for f8 {
461461
fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result {
462-
todo!()
462+
unimplemented!()
463463
}
464464
}
465465

0 commit comments

Comments
 (0)