Operations and constants for f64

Const NaN

f64

Const digits

uint

Const epsilon

f64

Const infinity

f64

Const mantissa_digits

uint

Const max_10_exp

int

Const max_exp

int

Const max_value

f64

Const min_10_exp

int

Const min_exp

int

Const min_value

f64

Const neg_infinity

f64

Const radix

uint

Implementation of num::Num for f64

Method add

fn add(other: &f64) -> f64

Method sub

fn sub(other: &f64) -> f64

Method mul

fn mul(other: &f64) -> f64

Method div

fn div(other: &f64) -> f64

Method modulo

fn modulo(other: &f64) -> f64

Method neg

fn neg() -> f64

Method to_int

fn to_int() -> int

Method from_int

fn from_int(n: int) -> f64

Implementation of num::Zero for f64

Method zero

fn zero() -> f64

Implementation of num::One for f64

Method one

fn one() -> f64

Function add

fn add(x: f64, y: f64) -> f64

Function div

fn div(x: f64, y: f64) -> f64

Function eq

fn eq(x: f64, y: f64) -> bool

Function ge

fn ge(x: f64, y: f64) -> bool

Function gt

fn gt(x: f64, y: f64) -> bool

Function is_NaN

fn is_NaN(f: f64) -> bool

Function is_finite

fn is_finite(x: f64) -> bool

Returns true if xis a finite number

Function is_infinite

fn is_infinite(x: f64) -> bool

Returns true if xis an infinite number

Function is_negative

fn is_negative(x: f64) -> bool

Returns true if x is a negative number, including -0.0f640 and -Infinity

Function is_nonnegative

fn is_nonnegative(x: f64) -> bool

Returns true if x is a positive number, including +0.0f640 and +Infinity

This is the same as f64::positive.

Function is_nonpositive

fn is_nonpositive(x: f64) -> bool

Returns true if x is a negative number, including -0.0f640 and -Infinity

This is the same as f64::is_negative.

Function is_positive

fn is_positive(x: f64) -> bool

Returns true if x is a positive number, including +0.0f640 and +Infinity

Function is_zero

fn is_zero(x: f64) -> bool

Returns true if x is a zero number (positive or negative zero)

Function le

fn le(x: f64, y: f64) -> bool

Function logarithm

fn logarithm(n: f64, b: f64) -> f64

Function lt

fn lt(x: f64, y: f64) -> bool

Function mul

fn mul(x: f64, y: f64) -> f64

Function ne

fn ne(x: f64, y: f64) -> bool

Function rem

fn rem(x: f64, y: f64) -> f64

Function signbit

fn signbit(x: f64) -> int

Function sqrt

fn sqrt(x: f64) -> f64

Function sub

fn sub(x: f64, y: f64) -> f64