1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#![allow(unused_imports)]
#[macro_use]
pub(crate) mod api;
#[macro_use]
mod assert;
#[macro_use]
mod index;
#[cfg(test)]
#[macro_use]
pub(crate) mod test;
mod algorithm;
mod cast;
mod config;
mod error;
mod mask;
mod num;
mod pointer_methods;
mod primitive;
mod pow;
mod result;
mod rounding;
mod sign;
mod table;
cfg_if! {
if #[cfg(feature = "correct")] {
mod bound;
mod range_bounds;
mod slice_index;
mod sequence;
} else {
mod wrapped;
}}
pub(crate) use self::algorithm::*;
pub(crate) use self::cast::*;
pub(crate) use self::mask::*;
pub(crate) use self::num::*;
pub(crate) use self::pointer_methods::*;
pub(crate) use self::primitive::*;
pub(crate) use self::pow::*;
pub(crate) use self::rounding::*;
pub(crate) use self::sign::*;
pub(crate) use self::table::*;
cfg_if! {
if #[cfg(feature = "correct")] {
pub(crate) use self::sequence::*;
} else {
pub(crate) use self::wrapped::*;
}}
pub use self::config::*;
pub use self::error::{Error, ErrorCode, is_empty, is_invalid_digit, is_overflow, is_success};
pub use self::result::*;
pub use self::rounding::RoundingKind;