exint 0.1.4

An implementation of generic signed and unsigned integers.
Documentation
If `rhs` is positive, calculates the smallest value greater than or equal to
`self` that is a multiple of `rhs`. If `rhs` is negative, calculates the largest
value less than or equal to `self` that is a multiple of `rhs`.

# Panics

This function will panic if `rhs` is zero.

## Overflow behavior

On overflow, this function will panic if overflow checks are enabled (default in
debug mode) and wrap if overflow checks are disabled (default in release mode).

# Examples

Basic usage:

```
# use ::exint::primitive::*;
# ::exint::uint! {
assert_eq!(16_i24.next_multiple_of(8_i24), 16_i24);
assert_eq!(23_i24.next_multiple_of(8_i24), 24_i24);
assert_eq!(16_i24.next_multiple_of(-8_i24), 16_i24);
assert_eq!(23_i24.next_multiple_of(-8_i24), 16_i24);
assert_eq!(-16_i24.next_multiple_of(8_i24), -16_i24);
assert_eq!(-23_i24.next_multiple_of(8_i24), -16_i24);
assert_eq!(-16_i24.next_multiple_of(-8_i24), -16_i24);
assert_eq!(-23_i24.next_multiple_of(-8_i24), -24_i24);
# }
```