GPUDeviceFloatIntrinsics

Trait GPUDeviceFloatIntrinsics 

Source
pub trait GPUDeviceFloatIntrinsics: Sized {
Show 20 methods // Provided methods fn fma(self, _y: Self, _z: Self) -> Self { ... } fn rsqrt(self) -> Self { ... } fn expm1(self) -> Self { ... } fn sinh(self) -> Self { ... } fn cosh(self) -> Self { ... } fn tan(self) -> Self { ... } fn tanh(self) -> Self { ... } fn pow(self) -> Self { ... } fn log10(self) -> Self { ... } fn log1p(self) -> Self { ... } fn log2(self) -> Self { ... } fn max(self) -> Self { ... } fn min(self) -> Self { ... } fn sqrt(self) -> Self { ... } fn ceil(self) -> Self { ... } fn exp(self) -> Self { ... } fn exp2(self) -> Self { ... } fn sin(self) -> Self { ... } fn cos(self) -> Self { ... } fn log(self) -> Self { ... }
}
Expand description

This trait provides the device intrinsics for floating-point types that are not defined by Rust core::intrinsics.

Provided Methods§

Source

fn fma(self, _y: Self, _z: Self) -> Self

Source

fn rsqrt(self) -> Self

Source

fn expm1(self) -> Self

Source

fn sinh(self) -> Self

Source

fn cosh(self) -> Self

Source

fn tan(self) -> Self

Source

fn tanh(self) -> Self

Source

fn pow(self) -> Self

Source

fn log10(self) -> Self

Source

fn log1p(self) -> Self

Source

fn log2(self) -> Self

Source

fn max(self) -> Self

Source

fn min(self) -> Self

Source

fn sqrt(self) -> Self

Source

fn ceil(self) -> Self

Source

fn exp(self) -> Self

Source

fn exp2(self) -> Self

Source

fn sin(self) -> Self

Source

fn cos(self) -> Self

Source

fn log(self) -> Self

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 GPUDeviceFloatIntrinsics for f32

Source§

impl GPUDeviceFloatIntrinsics for f64

Implementors§