Docs.rs
num-0.4.3
num 0.4.3
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
alexcrichton
cuviper
Dependencies
num-bigint ^0.4.5
normal
optional
num-complex ^0.4.6
normal
num-integer ^0.1.46
normal
num-iter ^0.1.45
normal
num-rational ^0.4.2
normal
num-traits ^0.2.19
normal
Versions
14.29%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
num
0.4.3
Module sign
Traits
Functions
In num::traits
Module
num
::
traits
::
sign
Copy item path
source
·
[
−
]
Traits
§
Signed
Useful functions for signed numbers (i.e. numbers that can be negative).
Unsigned
A trait for values which cannot be negative
Functions
§
abs
Computes the absolute value.
abs_sub
The positive difference of two numbers.
signum
Returns the sign of the number.