Add public-test-deps feature for better visibility control
This commit is contained in:
@@ -11,9 +11,9 @@ pub mod mul;
|
||||
pub mod pow;
|
||||
pub mod sub;
|
||||
|
||||
public_test_dep! {
|
||||
/// Trait for some basic operations on floats
|
||||
#[doc(hidden)]
|
||||
pub trait Float:
|
||||
pub(crate) trait Float:
|
||||
Copy
|
||||
+ core::fmt::Debug
|
||||
+ PartialEq
|
||||
@@ -99,6 +99,7 @@ pub trait Float:
|
||||
/// Returns if `self` is subnormal
|
||||
fn is_subnormal(self) -> bool;
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! float_impl {
|
||||
($ty:ident, $ity:ident, $sity:ident, $expty:ident, $bits:expr, $significand_bits:expr) => {
|
||||
|
||||
Reference in New Issue
Block a user