Skip to content

Commit 984c6e1

Browse files
committed
allow musl to have its slight error again
1 parent 6932f3f commit 984c6e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libm-test/src/precision.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ pub fn default_ulp(ctx: &CheckCtx) -> u32 {
111111
Id::Cbrt => ulp = 2,
112112
// FIXME(#401): musl has an incorrect result here.
113113
Id::Fdim => ulp = 2,
114+
Id::Exp2f => ulp = 1,
115+
Id::Expf => ulp = 1,
114116
Id::Sincosf => ulp = 500,
115117
Id::Tgamma => ulp = 20,
116118
_ => (),

0 commit comments

Comments
 (0)