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

Commit a543e15

Browse files
committed
Util: also print the hex float format for outputs
1 parent 09428e4 commit a543e15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/util/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::str::FromStr;
1111
use libm::support::{hf32, hf64};
1212
#[cfg(feature = "build-mpfr")]
1313
use libm_test::mpfloat::MpOp;
14-
use libm_test::{MathOp, TupleCall};
14+
use libm_test::{Hexf, MathOp, TupleCall};
1515
#[cfg(feature = "build-mpfr")]
1616
use rug::az::{self, Az};
1717

@@ -73,7 +73,7 @@ macro_rules! handle_call {
7373
}
7474
_ => panic!("unrecognized or disabled basis '{}'", $basis),
7575
};
76-
println!("{output:?}");
76+
println!("{output:?} {:x}", Hexf(output));
7777
return;
7878
}
7979
};

0 commit comments

Comments
 (0)