about summary refs log tree commit diff
path: root/library/compiler-builtins/src/math.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/compiler-builtins/src/math.rs')
-rw-r--r--library/compiler-builtins/src/math.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/compiler-builtins/src/math.rs b/library/compiler-builtins/src/math.rs
index 1893f1c166b..4b27cb80f68 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;