devela/num/float/
reexports.rs

1// devela::num::float::reexports
2//
3//! Reexported items from `core`.
4//
5
6use crate::reexport;
7
8reexport! { rust: core::num,
9    doc: "A classification of floating point numbers.",
10    @FpCategory as FloatCategory
11}
12
13// FIXME WAIT https://github.com/rust-lang/rust/issues/116909#issuecomment-2595319840
14// #[doc = crate::TAG_PRIMITIVE!()]
15// /// <span class="stab portability" title="re-exported from rust's `core`">`core`</span>
16// /// A 16-bit floating-point type.
17// // NOTE: this reexport type is not recognized implicity by rustdoc, is it a BUG?
18// // TODO: minimal example and the search/make an ISSUE in rust-repo
19// #[allow(non_camel_case_types)]
20// #[cfg(feature = "nightly_float")]
21// #[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "nightly_float")))]
22// pub type f16 = ::core::primitive::f16;
23// reexport! { rust: core::primitives, extra_features: "nightly_float",
24//     tag: crate::TAG_PRIMITIVE!(),
25//     doc: "A 16-bit floating-point type.",
26//     f16
27// }