Browse Source

Merge pull request #298 from varkor/update-libm

Update libm for fmin/fmax/fminf/fmaxf
master
Alex Crichton 2 years ago
committed by GitHub
parent
commit
9eafb677ad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libm
  2. 4
      src/math.rs

2
libm

@ -1 +1 @@
Subproject commit 0ae442888c7af72c0a335edd43dbbd74c751f119
Subproject commit 01bee72a93ebaeea2883d0f963174c2b00d4fe68

4
src/math.rs

@ -45,6 +45,10 @@ no_mangle! {
fn log10f(x: f32) -> f32;
fn log(x: f64) -> f64;
fn logf(x: f32) -> f32;
fn fmin(x: f64, y: f64) -> f64;
fn fminf(x: f32, y: f32) -> f32;
fn fmax(x: f64, y: f64) -> f64;
fn fmaxf(x: f32, y: f32) -> f32;
fn round(x: f64) -> f64;
fn roundf(x: f32) -> f32;
fn sin(x: f64) -> f64;

Loading…
Cancel
Save