Explorar o código

Merge pull request #283 from Goirad/patch-1

Added missing fdim signature
Alex Crichton %!s(int64=6) %!d(string=hai) anos
pai
achega
14320f2d77
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/math.rs

+ 1 - 0
src/math.rs

@@ -64,6 +64,7 @@ no_mangle! {
     fn cbrtf(n: f32) -> f32;
     fn coshf(n: f32) -> f32;
     fn expm1f(n: f32) -> f32;
+    fn fdim(a: f64, b: f64) -> f64;
     fn fdimf(a: f32, b: f32) -> f32;
     fn hypotf(x: f32, y: f32) -> f32;
     fn log1pf(n: f32) -> f32;