exint 0.1.4

An implementation of generic signed and unsigned integers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Computes the absolute value of `self` without any wrapping or panicking.

# Examples

Basic usage:

```
# use ::exint::primitive::*;
# ::exint::uint! {
assert_eq!(100_i24.unsigned_abs(), 100_u24);
assert_eq!((-100_i24).unsigned_abs(), 100_u24);
assert_eq!((-128_i24).unsigned_abs(), 128_u24);
# }
```