about summary refs log tree commit diff
path: root/library/compiler-builtins
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-06-05 21:32:31 +0100
committervarkor <github@varkor.com>2019-06-05 23:41:18 +0100
commit3fe09ab411fafd90ef5b2e1504c4bf33742d7874 (patch)
tree969478c1c1d06aaed8b27837bf9382cdf3420e78 /library/compiler-builtins
parent0774dcdc8b3232d3a87ed8daa7f07dec1b8fc3f7 (diff)
downloadrust-3fe09ab411fafd90ef5b2e1504c4bf33742d7874.tar.gz
rust-3fe09ab411fafd90ef5b2e1504c4bf33742d7874.zip
Update libm for fmin/fmax/fminf/fmaxf
Diffstat (limited to 'library/compiler-builtins')
m---------library/compiler-builtins/libm0
-rw-r--r--library/compiler-builtins/src/math.rs4
2 files changed, 4 insertions, 0 deletions
diff --git a/library/compiler-builtins/libm b/library/compiler-builtins/libm
-Subproject 0ae442888c7af72c0a335edd43dbbd74c751f11
+Subproject 01bee72a93ebaeea2883d0f963174c2b00d4fe6
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;