We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2959843 commit f9f4a4aCopy full SHA for f9f4a4a
src/float/mod.rs
@@ -6,8 +6,7 @@ pub mod add;
6
/// Trait for some basic operations on floats
7
pub trait Float: Sized {
8
/// A uint of the same with as the float
9
- type Int: Sized + Copy + Clone + Sub<Output=Self::Int> +
10
- ShlAssign<Self::Int> + Shl<Self::Int, Output=Self::Int>;
+ type Int;
11
12
/// Returns the bitwidth of the float type
13
fn bits() -> u32;
0 commit comments