Home
last modified time | relevance | path

Searched refs:k_cosf (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/libm/src/math/
Dsincosf.rs17 use super::{k_cosf, k_sinf, rem_pio2f};
50 return (k_sinf(x as f64), k_cosf(x as f64)); in sincosf()
58 s = -k_cosf((x + S1PIO2) as f64); in sincosf()
61 s = k_cosf((S1PIO2 - x) as f64); in sincosf()
69 c = -k_cosf((x + S2PIO2) as f64); in sincosf()
72 c = -k_cosf((x - S2PIO2) as f64); in sincosf()
84 s = k_cosf((x + S3PIO2) as f64); in sincosf()
87 s = -k_cosf((x - S3PIO2) as f64); in sincosf()
93 c = k_cosf((x + S4PIO2) as f64); in sincosf()
96 c = k_cosf((x - S4PIO2) as f64); in sincosf()
[all …]
Dsinf.rs17 use super::{k_cosf, k_sinf, rem_pio2f};
56 return -k_cosf(x64 + S1_PIO2); in sinf()
58 return k_cosf(x64 - S1_PIO2); in sinf()
72 return k_cosf(x64 + S3_PIO2); in sinf()
74 return -k_cosf(x64 - S3_PIO2); in sinf()
89 1 => k_cosf(y), in sinf()
91 _ => -k_cosf(y), in sinf()
Dcosf.rs17 use super::{k_cosf, k_sinf, rem_pio2f};
45 return k_cosf(x64); in cosf()
51 return -k_cosf(if sign { x64 + C2_PIO2 } else { x64 - C2_PIO2 }); in cosf()
62 return k_cosf(if sign { x64 + C4_PIO2 } else { x64 - C4_PIO2 }); in cosf()
78 0 => k_cosf(y), in cosf()
80 2 => -k_cosf(y), in cosf()
Dlgammaf_r.rs16 use super::{floorf, k_cosf, k_sinf, logf};
95 1 => k_cosf(y), in sin_pi()
97 3 => -k_cosf(y), in sin_pi()
Dmod.rs296 mod k_cosf; module
310 use self::k_cosf::k_cosf;
Dk_cosf.rs24 pub(crate) fn k_cosf(x: f64) -> f32 { in k_cosf() function