Add an experimental arbitrary-precision integer types
This commit is contained in:
parent
a426328e3a
commit
33e08166ff
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ pub struct u32;
|
||||||
pub struct u64;
|
pub struct u64;
|
||||||
pub struct usize;
|
pub struct usize;
|
||||||
|
|
||||||
|
pub struct int;
|
||||||
|
pub struct uint;
|
||||||
|
|
||||||
trait Num;
|
trait Num;
|
||||||
|
|
||||||
fn (a: N) + (b: N) -> N where N: Num {
|
fn (a: N) + (b: N) -> N where N: Num {
|
||||||
|
|
Loading…
Reference in a new issue