pub trait Real:
Float
+ Send
+ Sync
+ Debug
+ 'static {
// Required methods
fn of(x: f64) -> Self;
fn wide(self) -> f64;
}Expand description
The real type of a state on the CPU: f64, or f32 for half the memory traffic and twice
the SIMD width, at about 10⁻⁷ of relative error per step (see crate::gpu for checked
runs in reduced precision).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".