summaryrefslogtreecommitdiffstats
path: root/vendor/libm/src/math/hypot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libm/src/math/hypot.rs')
-rw-r--r--vendor/libm/src/math/hypot.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/vendor/libm/src/math/hypot.rs b/vendor/libm/src/math/hypot.rs
index e53baf539..da458ea1d 100644
--- a/vendor/libm/src/math/hypot.rs
+++ b/vendor/libm/src/math/hypot.rs
@@ -4,7 +4,6 @@ use super::sqrt;
const SPLIT: f64 = 134217728. + 1.; // 0x1p27 + 1 === (2 ^ 27) + 1
-#[inline]
fn sq(x: f64) -> (f64, f64) {
let xh: f64;
let xl: f64;
@@ -18,7 +17,6 @@ fn sq(x: f64) -> (f64, f64) {
(hi, lo)
}
-#[inline]
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn hypot(mut x: f64, mut y: f64) -> f64 {
let x1p700 = f64::from_bits(0x6bb0000000000000); // 0x1p700 === 2 ^ 700