Docs.rs
oxiphysics-gpu-0.1.1
oxiphysics-gpu 0.1.1
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
cool-japan
Dependencies
bytemuck ^1
normal
optional
cudarc ^0.19
normal
optional
oxiphysics-core ^0.1.1
normal
pollster ^0.4
normal
optional
rand ^0.10
normal
rayon ^1
normal
thiserror ^2
normal
wgpu ^29
normal
optional
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
safe_sqrt
oxiphysics_
gpu
0.1.1
oxiphysics_gpu
Function
safe_
sqrt
Copy item path
Source
pub fn safe_sqrt(x:
f64
) ->
f64
Expand description
Safe square root: clamps negative values to 0 before taking sqrt.