]> git.proxmox.com Git - rustc.git/blobdiff - vendor/compiler_builtins/libm/src/math/k_cosf.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / vendor / compiler_builtins / libm / src / math / k_cosf.rs
index 9b48e190ddd5aec0cc1055329ea6f2994029668e..e99f2348c00dff6b6e00dda51ea5b22343f06a6f 100644 (file)
@@ -20,9 +20,8 @@ const C1: f64 = 0.0416666233237390631894; /*  0x155553e1053a42.0p-57 */
 const C2: f64 = -0.00138867637746099294692; /* -0x16c087e80f1e27.0p-62 */
 const C3: f64 = 0.0000243904487962774090654; /*  0x199342e0ee5069.0p-68 */
 
-#[inline]
 #[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
-pub fn k_cosf(x: f64) -> f32 {
+pub(crate) fn k_cosf(x: f64) -> f32 {
     let z = x * x;
     let w = z * z;
     let r = C2 + z * C3;