devela/num/float/
mod.rs

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
// devela::num::float
//
//! Floating point functionality.
//

mod alias; // fsize
mod constants; // ExtFloatConst
mod reexports;
mod wrapper; // Float

#[cfg(_float··)]
crate::items! {
    mod ext_float; // ExtFloat
    mod shared_docs; // FORMULA_*!()
}

crate::items! { // structural access: _mods, _all, _always
    #[allow(unused)]
    pub use _mods::*;
    #[allow(unused)] #[doc(hidden)] #[doc(no_inline)]
    pub use _always::*;

    mod _mods {
        pub use super::{alias::*, constants::*, reexports::*, wrapper::*};

        #[cfg(_float··)] #[allow(unused, reason = "feature-gated")]
        pub use super::{ext_float::*, wrapper::*, shared_docs::*};
    }
    pub(super) mod _all { #[doc(inline)]
        pub use super::_mods::*;
    }
    pub(super) mod _always { #![allow(unused)]
        pub use super::{alias::*, reexports::*};
    }
}