Operations and constants for f32

Const NaN

f32

Const infinity

f32

Const neg_infinity

f32

Implementation num 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

Function abs

pure fn abs(n: c_float) -> c_float

Function abs_sub

pure fn abs_sub(a: c_float, b: c_float) -> c_float

Function acos

pure fn acos(n: c_float) -> c_float

Function add

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

Function asin

pure fn asin(n: c_float) -> c_float

Function atan

pure fn atan(n: c_float) -> c_float

Function atan2

pure fn atan2(a: c_float, b: c_float) -> c_float

Function cbrt

pure fn cbrt(n: c_float) -> c_float

Function ceil

pure fn ceil(n: c_float) -> c_float

Function copysign

pure fn copysign(x: c_float, y: c_float) -> c_float

Function cos

pure fn cos(n: c_float) -> c_float

Function cosh

pure fn cosh(n: c_float) -> c_float

Function div

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

Function eq

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

Function erf

pure fn erf(n: c_float) -> c_float

Function erfc

pure fn erfc(n: c_float) -> c_float

Function exp

pure fn exp(n: c_float) -> c_float

Function exp2

pure fn exp2(n: c_float) -> c_float

Function expm1

pure fn expm1(n: c_float) -> c_float

Function floor

pure fn floor(n: c_float) -> c_float

Function fmax

pure fn fmax(a: c_float, b: c_float) -> c_float

Function fmin

pure fn fmin(a: c_float, b: c_float) -> c_float

Function frexp

pure fn frexp(n: c_float, &value: c_int) -> c_float

Function gt

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

Function hypot

pure fn hypot(x: c_float, y: c_float) -> c_float

Function ilog_radix

pure fn ilog_radix(n: c_float) -> c_int

Function is_NaN

pure fn is_NaN(f: f32) -> bool

Function is_finite

pure fn is_finite(x: f32) -> bool

Returns true if xis a finite number

Function is_infinite

pure fn is_infinite(x: f32) -> bool

Returns true if xis an infinite number

Function is_negative

pure fn is_negative(x: f32) -> bool

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

Function is_nonnegative

pure 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

pure 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

pure fn is_positive(x: f32) -> bool

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

Function is_zero

pure fn is_zero(x: f32) -> bool

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

Function ldexp

pure fn ldexp(x: c_float, n: c_int) -> c_float

Function le

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

Function lgamma

pure fn lgamma(n: c_float, &sign: c_int) -> c_float

Function ln

pure fn ln(n: c_float) -> c_float

Function ln1p

pure fn ln1p(n: c_float) -> c_float

Function log10

pure fn log10(n: c_float) -> c_float

Function log2

pure fn log2(n: c_float) -> c_float

Function log_radix

pure fn log_radix(n: c_float) -> c_float

Function logarithm

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

Function lt

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

Function modf

pure fn modf(n: c_float, &iptr: c_float) -> c_float

Function mul

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

Function mul_add

pure fn mul_add(a: c_float, b: c_float, c: c_float) -> c_float

Function ne

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

Function nextafter

pure fn nextafter(x: c_float, y: c_float) -> c_float

Function pow

pure fn pow(n: c_float, e: c_float) -> c_float

Function rem

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

Function round

pure fn round(n: c_float) -> c_float

Function signbit

pure fn signbit(x: f32) -> int

Function sin

pure fn sin(n: c_float) -> c_float

Function sinh

pure fn sinh(n: c_float) -> c_float

Function sqrt

pure fn sqrt(n: c_float) -> c_float

Function sub

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

Function tan

pure fn tan(n: c_float) -> c_float

Function tanh

pure fn tanh(n: c_float) -> c_float

Function tgamma

pure fn tgamma(n: c_float) -> c_float

Function trunc

pure fn trunc(n: c_float) -> c_float