Use the integer32 playground
This commit is contained in:
parent
e4a6956e5a
commit
ff2a350e98
|
@ -72,7 +72,7 @@
|
||||||
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
||||||
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
||||||
html_root_url = "https://rust-num.github.io/num/",
|
html_root_url = "https://rust-num.github.io/num/",
|
||||||
html_playground_url = "https://play.rust-lang.org/")]
|
html_playground_url = "http://play.integer32.com/")]
|
||||||
|
|
||||||
#[cfg(any(feature = "rand", test))]
|
#[cfg(any(feature = "rand", test))]
|
||||||
extern crate rand;
|
extern crate rand;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
||||||
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
||||||
html_root_url = "https://rust-num.github.io/num/",
|
html_root_url = "https://rust-num.github.io/num/",
|
||||||
html_playground_url = "https://play.rust-lang.org/")]
|
html_playground_url = "http://play.integer32.com/")]
|
||||||
|
|
||||||
extern crate num_traits as traits;
|
extern crate num_traits as traits;
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
||||||
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
||||||
html_root_url = "https://rust-num.github.io/num/",
|
html_root_url = "https://rust-num.github.io/num/",
|
||||||
html_playground_url = "https://play.rust-lang.org/")]
|
html_playground_url = "http://play.integer32.com/")]
|
||||||
|
|
||||||
extern crate num_traits as traits;
|
extern crate num_traits as traits;
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
||||||
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
||||||
html_root_url = "https://rust-num.github.io/num/",
|
html_root_url = "https://rust-num.github.io/num/",
|
||||||
html_playground_url = "https://play.rust-lang.org/")]
|
html_playground_url = "http://play.integer32.com/")]
|
||||||
|
|
||||||
extern crate num_traits as traits;
|
extern crate num_traits as traits;
|
||||||
extern crate num_integer as integer;
|
extern crate num_integer as integer;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
||||||
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
||||||
html_root_url = "https://rust-num.github.io/num/",
|
html_root_url = "https://rust-num.github.io/num/",
|
||||||
html_playground_url = "https://play.rust-lang.org/")]
|
html_playground_url = "http://play.integer32.com/")]
|
||||||
|
|
||||||
extern crate syntax;
|
extern crate syntax;
|
||||||
extern crate syntax_ext;
|
extern crate syntax_ext;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
||||||
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
||||||
html_root_url = "https://rust-num.github.io/num/",
|
html_root_url = "https://rust-num.github.io/num/",
|
||||||
html_playground_url = "https://play.rust-lang.org/")]
|
html_playground_url = "http://play.integer32.com/")]
|
||||||
|
|
||||||
#[cfg(feature = "rustc-serialize")]
|
#[cfg(feature = "rustc-serialize")]
|
||||||
extern crate rustc_serialize;
|
extern crate rustc_serialize;
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
||||||
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
||||||
html_root_url = "https://rust-num.github.io/num/",
|
html_root_url = "https://rust-num.github.io/num/",
|
||||||
html_playground_url = "https://play.rust-lang.org/")]
|
html_playground_url = "http://play.integer32.com/")]
|
||||||
|
|
||||||
extern crate num_traits;
|
extern crate num_traits;
|
||||||
extern crate num_integer;
|
extern crate num_integer;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
|
||||||
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
|
||||||
html_root_url = "https://rust-num.github.io/num/",
|
html_root_url = "https://rust-num.github.io/num/",
|
||||||
html_playground_url = "https://play.rust-lang.org/")]
|
html_playground_url = "http://play.integer32.com/")]
|
||||||
|
|
||||||
use std::ops::{Add, Sub, Mul, Div, Rem};
|
use std::ops::{Add, Sub, Mul, Div, Rem};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue