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 66e3a4c commit 9730ed9Copy full SHA for 9730ed9
src/libstd/num/num.rs
@@ -285,6 +285,7 @@ pub trait Primitive: Num
285
+ Div<Self,Self>
286
+ Rem<Self,Self> {
287
// FIXME (#5527): These should be associated constants
288
+ // FIXME (#8888): Removing `unused_self` requires #8888 to be fixed.
289
fn bits(unused_self: Option<Self>) -> uint;
290
fn bytes(unused_self: Option<Self>) -> uint;
291
}
@@ -327,6 +328,7 @@ pub trait Float: Real
327
328
fn is_normal(&self) -> bool;
329
fn classify(&self) -> FPCategory;
330
331
332
fn mantissa_digits(unused_self: Option<Self>) -> uint;
333
fn digits(unused_self: Option<Self>) -> uint;
334
fn epsilon() -> Self;
0 commit comments