summaryrefslogtreecommitdiffstats
path: root/vendor/libm/src/math/acosf.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libm/src/math/acosf.rs')
-rw-r--r--vendor/libm/src/math/acosf.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/vendor/libm/src/math/acosf.rs b/vendor/libm/src/math/acosf.rs
index d0598e811..1a60479e3 100644
--- a/vendor/libm/src/math/acosf.rs
+++ b/vendor/libm/src/math/acosf.rs
@@ -22,7 +22,6 @@ const P_S1: f32 = -4.2743422091e-02;
const P_S2: f32 = -8.6563630030e-03;
const Q_S1: f32 = -7.0662963390e-01;
-#[inline]
fn r(z: f32) -> f32 {
let p = z * (P_S0 + z * (P_S1 + z * P_S2));
let q = 1. + z * Q_S1;
@@ -34,7 +33,6 @@ fn r(z: f32) -> f32 {
/// Computes the inverse cosine (arc cosine) of the input value.
/// Arguments must be in the range -1 to 1.
/// Returns values in radians, in the range of 0 to pi.
-#[inline]
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn acosf(x: f32) -> f32 {
let x1p_120 = f32::from_bits(0x03800000); // 0x1p-120 === 2 ^ (-120)