Trait umath::generic_float::Trig

source ·
pub trait Trig {
Show 13 methods // Required methods fn sin(self) -> Self; fn asin(self) -> Self; fn sinh(self) -> Self; fn asinh(self) -> Self; fn cos(self) -> Self; fn acos(self) -> Self; fn cosh(self) -> Self; fn acosh(self) -> Self; fn tan(self) -> Self; fn atan(self) -> Self; fn atan2(self, other: Self) -> Self; fn tanh(self) -> Self; fn atanh(self) -> Self;
}
Expand description

Trigonometry functions

Required Methods§

source

fn sin(self) -> Self

Refer to f32::sin

source

fn asin(self) -> Self

Refer to f32::asin

source

fn sinh(self) -> Self

Refer to f32::sinh

source

fn asinh(self) -> Self

Refer to f32::asinh

source

fn cos(self) -> Self

Refer to f32::cos

source

fn acos(self) -> Self

Refer to f32::acos

source

fn cosh(self) -> Self

Refer to f32::cosh

source

fn acosh(self) -> Self

Refer to f32::acosh

source

fn tan(self) -> Self

Refer to f32::tan

source

fn atan(self) -> Self

Refer to f32::atan

source

fn atan2(self, other: Self) -> Self

Refer to f32::atan2

source

fn tanh(self) -> Self

Refer to f32::tanh

source

fn atanh(self) -> Self

Refer to f32::atanh

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Trig for f32

source§

fn sin(self) -> Self

source§

fn asin(self) -> Self

source§

fn sinh(self) -> Self

source§

fn asinh(self) -> Self

source§

fn cos(self) -> Self

source§

fn acos(self) -> Self

source§

fn cosh(self) -> Self

source§

fn acosh(self) -> Self

source§

fn tan(self) -> Self

source§

fn atan(self) -> Self

source§

fn atan2(self, other: Self) -> Self

source§

fn tanh(self) -> Self

source§

fn atanh(self) -> Self

source§

impl Trig for f64

source§

fn sin(self) -> Self

source§

fn asin(self) -> Self

source§

fn sinh(self) -> Self

source§

fn asinh(self) -> Self

source§

fn cos(self) -> Self

source§

fn acos(self) -> Self

source§

fn cosh(self) -> Self

source§

fn acosh(self) -> Self

source§

fn tan(self) -> Self

source§

fn atan(self) -> Self

source§

fn atan2(self, other: Self) -> Self

source§

fn tanh(self) -> Self

source§

fn atanh(self) -> Self

Implementors§

source§

impl<T: FastFloat + Trig + Rounding + Log> Trig for FFloat<T>