summaryrefslogtreecommitdiffstats
path: root/vendor/libm/src/math/expm1f.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libm/src/math/expm1f.rs')
-rw-r--r--vendor/libm/src/math/expm1f.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/vendor/libm/src/math/expm1f.rs b/vendor/libm/src/math/expm1f.rs
index 9bb223448..3fc2a247b 100644
--- a/vendor/libm/src/math/expm1f.rs
+++ b/vendor/libm/src/math/expm1f.rs
@@ -32,7 +32,6 @@ const Q2: f32 = 1.5807170421e-3; /* 0xcf3010.0p-33 */
/// system of logarithms, approximately 2.71828).
/// The result is accurate even for small values of `x`,
/// where using `exp(x)-1` would lose many significant digits.
-#[inline]
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn expm1f(mut x: f32) -> f32 {
let x1p127 = f32::from_bits(0x7f000000); // 0x1p127f === 2 ^ 127