Trait batbox::Float[][src]

pub trait Float: Num {
    const PI: Self;

    fn signum(self) -> Self;
fn floor(self) -> Self;
fn ceil(self) -> Self;
fn sqrt(self) -> Self;
fn tan(self) -> Self;
fn sin(self) -> Self;
fn cos(self) -> Self;
fn sin_cos(self) -> (Self, Self);
fn atan2(y: Self, x: Self) -> Self;
fn is_finite(self) -> bool;
fn as_f32(self) -> f32; }

Associated Constants

const PI: Self[src]

Loading content...

Required methods

fn signum(self) -> Self[src]

fn floor(self) -> Self[src]

fn ceil(self) -> Self[src]

fn sqrt(self) -> Self[src]

fn tan(self) -> Self[src]

fn sin(self) -> Self[src]

fn cos(self) -> Self[src]

fn sin_cos(self) -> (Self, Self)[src]

fn atan2(y: Self, x: Self) -> Self[src]

fn is_finite(self) -> bool[src]

fn as_f32(self) -> f32[src]

Loading content...

Implementations on Foreign Types

impl Float for f32[src]

impl Float for f64[src]

Loading content...

Implementors

impl<T: Real> Float for T[src]

Loading content...