Skip to content

Commit

Permalink
Expose erf{,c}{,f} from libm
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigorenkoPV authored and tgross35 committed Feb 6, 2025
1 parent a670014 commit 8382bc2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ no_mangle! {
fn fmod(x: f64, y: f64) -> f64;
// `f32 % f32`
fn fmodf(x: f32, y: f32) -> f32;

fn erf(x: f64) -> f64;
fn erff(x: f32) -> f32;
fn erfc(x: f64) -> f64;
fn erfcf(x: f32) -> f32;
}

// allow for windows (and other targets)
Expand Down

0 comments on commit 8382bc2

Please sign in to comment.