diff --git a/library/compiler-builtins/libm b/library/compiler-builtins/libm index 0ae442888c7a..01bee72a93eb 160000 --- a/library/compiler-builtins/libm +++ b/library/compiler-builtins/libm @@ -1 +1 @@ -Subproject commit 0ae442888c7af72c0a335edd43dbbd74c751f119 +Subproject commit 01bee72a93ebaeea2883d0f963174c2b00d4fe68 diff --git a/library/compiler-builtins/src/math.rs b/library/compiler-builtins/src/math.rs index 1893f1c166ba..4b27cb80f683 100644 --- a/library/compiler-builtins/src/math.rs +++ b/library/compiler-builtins/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;