summaryrefslogtreecommitdiffstats
path: root/vendor/libm/src/math/log.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libm/src/math/log.rs')
-rw-r--r--vendor/libm/src/math/log.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/vendor/libm/src/math/log.rs b/vendor/libm/src/math/log.rs
index 4126e413b..27a26da60 100644
--- a/vendor/libm/src/math/log.rs
+++ b/vendor/libm/src/math/log.rs
@@ -70,7 +70,6 @@ const LG5: f64 = 1.818357216161805012e-01; /* 3FC74664 96CB03DE */
const LG6: f64 = 1.531383769920937332e-01; /* 3FC39A09 D078C69F */
const LG7: f64 = 1.479819860511658591e-01; /* 3FC2F112 DF3E5244 */
-#[inline]
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn log(mut x: f64) -> f64 {
let x1p54 = f64::from_bits(0x4350000000000000); // 0x1p54 === 2 ^ 54