소스 검색

Merge pull request #283 from Goirad/patch-1

Added missing fdim signature
Alex Crichton 6 년 전
부모
커밋
14320f2d77
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;