summaryrefslogtreecommitdiffstats
path: root/vendor/libm/src/math/tanh.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libm/src/math/tanh.rs')
-rw-r--r--vendor/libm/src/math/tanh.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/vendor/libm/src/math/tanh.rs b/vendor/libm/src/math/tanh.rs
index 75d695cf7..980c68554 100644
--- a/vendor/libm/src/math/tanh.rs
+++ b/vendor/libm/src/math/tanh.rs
@@ -4,7 +4,6 @@ use super::expm1;
* = (exp(2*x) - 1)/(exp(2*x) - 1 + 2)
* = (1 - exp(-2*x))/(exp(-2*x) - 1 + 2)
*/
-#[inline]
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn tanh(mut x: f64) -> f64 {
let mut uf: f64 = x;