W3cubDocs

/Rust

Module std::num

Additional functionality for numerics.

This module provides some extra types that are useful when doing numerical work. See the individual documentation for each piece for more information.

Structs

ParseFloatError

An error which can be returned when parsing a float.

ParseIntError

An error which can be returned when parsing an integer.

Wrapping

Provides intentionally-wrapped arithmetic on T.

TryFromIntError [
Experimental
]

The error type returned when a checked integral type conversion fails.

Enums

FpCategory

A classification of floating point numbers.

Traits

One [
Deprecated
] [
Experimental
]

Types that have a "one" value.

Zero [
Deprecated
] [
Experimental
]

Types that have a "zero" value.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/num/index.html