Operations and constants for float
consts |
pub static NaN: float = 0.0/0.0 |
|
pub static infinity: float = 1.0/0.0 |
|
pub static neg_infinity: float = -1.0/0.0 |
from_str_hex | Convert a string in base 16 to a float. Accepts a optional binary exponent. |
pow_with_uint | Compute the exponentiation of an integer by another integer as a float |
to_str | Converts a float to a string |
to_str_digits | Converts a float to a string with a maximum number of significant digits |
to_str_exact | Converts a float to a string with exactly the number of provided significant digits |
to_str_hex | Converts a float to a string in hexadecimal format |
to_str_radix_special | Converts a float to a string in a given radix, and a flag indicating whether it's a special value |
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).