Debian Codegraph @

src/math.rs

raw symbols SCIP
1 #[cfg(feature = "std")]
2 #[inline]
3 pub(craterust-analyzer cargo fastbloom 0.17.0 crate/) fn lnrust-analyzer cargo fastbloom 0.17.0 math/ln().(x: f64) -> f64 {
4 x.lnrust-analyzer cargo std https://github.com/rust-lang/rust/library/std f64/impl#[f64]ln().()
5 }
6
7 #[cfg(not(feature = "std"))]
8 #[inline]
9 pub(craterust-analyzer cargo fastbloom 0.17.0 crate/) fn ln(x: f64) -> f64 {
10 libmrust-analyzer cargo libm 0.2.15 crate/::logrust-analyzer cargo libm 0.2.15 math/log/log().(x)
11 }
12
13 #[cfg(feature = "std")]
14 #[inline]
15 pub(craterust-analyzer cargo fastbloom 0.17.0 crate/) fn ceilrust-analyzer cargo fastbloom 0.17.0 math/ceil().(x: f64) -> f64 {
16 x.ceilrust-analyzer cargo std https://github.com/rust-lang/rust/library/std f64/impl#[f64]ceil().()
17 }
18
19 #[cfg(not(feature = "std"))]
20 #[inline]
21 pub(craterust-analyzer cargo fastbloom 0.17.0 crate/) fn ceil(x: f64) -> f64 {
22 libmrust-analyzer cargo libm 0.2.15 crate/::ceilrust-analyzer cargo libm 0.2.15 math/ceil/ceil().(x)
23 }
24
25 #[cfg(feature = "std")]
26 #[inline]
27 pub(craterust-analyzer cargo fastbloom 0.17.0 crate/) fn powrust-analyzer cargo fastbloom 0.17.0 math/pow().(b: f64, p: f64) -> f64 {
28 b.powfrust-analyzer cargo std https://github.com/rust-lang/rust/library/std f64/impl#[f64]powf().(p)
29 }
30
31 #[cfg(not(feature = "std"))]
32 #[inline]
33 pub(craterust-analyzer cargo fastbloom 0.17.0 crate/) fn pow(b: f64, p: f64) -> f64 {
34 libmrust-analyzer cargo libm 0.2.15 crate/::powrust-analyzer cargo libm 0.2.15 math/pow/pow().(b, p)
35 }
36
37 #[cfg(feature = "std")]
38 #[inline]
39 pub(craterust-analyzer cargo fastbloom 0.17.0 crate/) fn roundrust-analyzer cargo fastbloom 0.17.0 math/round().(x: f64) -> f64 {
40 x.roundrust-analyzer cargo std https://github.com/rust-lang/rust/library/std f64/impl#[f64]round().()
41 }
42
43 #[cfg(not(feature = "std"))]
44 #[inline]
45 pub(craterust-analyzer cargo fastbloom 0.17.0 crate/) fn round(x: f64) -> f64 {
46 libmrust-analyzer cargo libm 0.2.15 crate/::roundrust-analyzer cargo libm 0.2.15 math/round/round().(x)
47 }