Skip to content

Commit 4b67aba

Browse files
GrigorenkoPVtgross35
authored andcommitted
Expose erf{,c}{,f} from libm
1 parent a670014 commit 4b67aba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/math.rs

+5
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ no_mangle! {
9191
fn fmod(x: f64, y: f64) -> f64;
9292
// `f32 % f32`
9393
fn fmodf(x: f32, y: f32) -> f32;
94+
95+
fn erf(x: f64) -> f64;
96+
fn erff(x: f32) -> f32;
97+
fn erfc(x: f64) -> f64;
98+
fn erfcf(x: f32) -> f32;
9499
}
95100

96101
// allow for windows (and other targets)

0 commit comments

Comments
 (0)