Operations and constants for f32

Const NaN

f32

Const infinity

f32

Const neg_infinity

f32

Implementation of num::Num for f32

Method add

fn add(other: &f32) -> f32

Method sub

fn sub(other: &f32) -> f32

Method mul

fn mul(other: &f32) -> f32

Method div

fn div(other: &f32) -> f32

Method modulo

fn modulo(other: &f32) -> f32

Method neg

fn neg() -> f32

Method to_int

fn to_int() -> int

Method from_int

fn from_int(n: int) -> f32

Implementation of num::Zero for f32

Method zero

fn zero() -> f32

Implementation of num::One for f32

Method one

fn one() -> f32

Function add

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

Function div

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

Function eq

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

Function ge

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

Function gt

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

Function is_NaN

fn is_NaN(f: f32) -> bool

Function is_finite

fn is_finite(x: f32) -> bool

Returns true if xis a finite number

Function is_infinite

fn is_infinite(x: f32) -> bool

Returns true if xis an infinite number

Function is_negative

fn is_negative(x: f32) -> bool

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

Function is_nonnegative

fn is_nonnegative(x: f32) -> bool

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

This is the same as f32::is_positive.)

Function is_nonpositive

fn is_nonpositive(x: f32) -> bool

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

This is the same as f32::is_negative.

Function is_positive

fn is_positive(x: f32) -> bool

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

Function is_zero

fn is_zero(x: f32) -> bool

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

Function le

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

Function logarithm

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

Function lt

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

Function mul

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

Function ne

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

Function rem

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

Function signbit

fn signbit(x: f32) -> int

Function sub

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