We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c908f73 commit 3bcc6bcCopy full SHA for 3bcc6bc
libm-test/src/precision.rs
@@ -18,7 +18,9 @@ pub fn default_ulp(ctx: &CheckCtx) -> u32 {
18
// ULP compared to the infinite (MPFR) result.
19
let mut ulp = match ctx.base_name {
20
// operations from builtins are always precise
21
- Bn::Add | Bn::Sub | Bn::Mul | Bn::Div | Bn::Powi => 0,
+ Bn::Add | Bn::Sub | Bn::Mul | Bn::Div => 0,
22
+ // TODO: is this actually what we want?
23
+ Bn::Powi => 4,
24
25
// Operations that require exact results. This list should correlate with what we
26
// have documented at <https://doc.rust-lang.org/std/primitive.f32.html>.
0 commit comments