Debian Codegraph @

src/ops.rs

raw symbols SCIP
1 pub mod f32rust-analyzer cargo dasp_sample 0.11.0 ops/f32/ {
2 #[allow(unused_imports)]
3 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/;
4
5 #[cfg(not(feature = "std"))]
6 pub fn sqrt(x: f32) -> f32 {
7 unsafe { corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::intrinsicsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core intrinsics/::sqrtf32rust-analyzer cargo core https://github.com/rust-lang/rust/library/core intrinsics/sqrtf32().(x) }
8 }
9 #[cfg(feature = "std")]
10 pub fn sqrtrust-analyzer cargo dasp_sample 0.11.0 ops/f32/sqrt().(x: f32) -> f32 {
11 x.sqrtrust-analyzer cargo std https://github.com/rust-lang/rust/library/std f32/impl#[f32]sqrt().()
12 }
13 }
14
15 pub mod f64rust-analyzer cargo dasp_sample 0.11.0 ops/f64/ {
16 #[allow(unused_imports)]
17 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/;
18
19 #[cfg(not(feature = "std"))]
20 pub fn sqrt(x: f64) -> f64 {
21 unsafe { corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::intrinsicsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core intrinsics/::sqrtf64rust-analyzer cargo core https://github.com/rust-lang/rust/library/core intrinsics/sqrtf64().(x) }
22 }
23 #[cfg(feature = "std")]
24 pub fn sqrtrust-analyzer cargo dasp_sample 0.11.0 ops/f64/sqrt().(x: f64) -> f64 {
25 x.sqrtrust-analyzer cargo std https://github.com/rust-lang/rust/library/std f64/impl#[f64]sqrt().()
26 }
27 }