Trait FastInvSqrt

Source
pub trait FastInvSqrt {
    // Required method
    fn fast_invsqrt(x: Self) -> Self;
}
Expand description

Implement the fast approximate computation of ‘1/sqrt(x)’ for a type.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FastInvSqrt for f32

Source§

fn fast_invsqrt(x: Self) -> Self

Source§

impl FastInvSqrt for f64

Source§

fn fast_invsqrt(x: Self) -> Self

Implementors§