Update README.md
This commit is contained in:
parent
163e0e2bab
commit
bf4188438d
12
README.md
12
README.md
|
@ -9,10 +9,10 @@ extern crate bigint;
|
|||
use bigint::{U256, Uint};
|
||||
|
||||
fn main() {
|
||||
let mut val: U256 = 1023.into();
|
||||
for _ in 0..200 { val = val * 2.into() }
|
||||
assert_eq!(
|
||||
&format!("{}", val),
|
||||
"1643897619276947051879427220465009342380213662639797070513307648"
|
||||
);
|
||||
let mut val: U256 = 1023.into();
|
||||
for _ in 0..200 { val = val * 2.into() }
|
||||
assert_eq!(
|
||||
&format!("{}", val),
|
||||
"1643897619276947051879427220465009342380213662639797070513307648"
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue