[][src]Trait float::Trig

pub trait Trig {
    fn sin(self) -> Self;
fn cos(self) -> Self;
fn tan(self) -> Self;
fn asin(self) -> Self;
fn acos(self) -> Self;
fn atan(self) -> Self;
fn atan2(self, other: Self) -> Self;
fn sinh(self) -> Self;
fn cosh(self) -> Self;
fn tanh(self) -> Self;
fn asinh(self) -> Self;
fn acosh(self) -> Self;
fn atanh(self) -> Self; }

Basic trigonometry functions

Required methods

fn sin(self) -> Self

Returns sine of self.

fn cos(self) -> Self

Returns cosine of self.

fn tan(self) -> Self

Returns tangent of self.

fn asin(self) -> Self

Returns inverse sine of self.

fn acos(self) -> Self

Returns inverse cosine of self.

fn atan(self) -> Self

Returns inverse tangent of self.

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

Returns the four quadrant arctangent of self (y) and other (x).

fn sinh(self) -> Self

Returns hyperbolic sine of self.

fn cosh(self) -> Self

Returns hyperbolic cosine of self.

fn tanh(self) -> Self

Returns hyperbolic tangent of self.

fn asinh(self) -> Self

Returns inverse hyperbolic sine of self.

fn acosh(self) -> Self

Returns inverse hyperbolic cosine of self.

fn atanh(self) -> Self

Returns inverse hyperbolic tangent of self.

Loading content...

Implementations on Foreign Types

impl Trig for f32[src]

impl Trig for f64[src]

Loading content...

Implementors

Loading content...