Go to file
Nikolay Volf b8d559b73e Merge pull request #15 from frewsxcv/frewsxcv-doc-panics
Document which methods panic.
2017-06-23 17:02:31 +03:00
examples fix error str 2017-05-21 19:35:25 +03:00
src Document which methods panic. 2017-06-22 23:11:30 -04:00
.gitignore removed hashes, updated toml 2016-12-22 13:23:46 +03:00
.travis.yml Create .travis.yml 2017-03-15 17:15:05 +04:00
Cargo.toml bump heapsize crate 2017-05-20 16:40:34 -04:00
LICENSE-APACHE relicense under mit/apache2 2017-05-11 15:25:52 +02:00
LICENSE-MIT relicense under mit/apache2 2017-05-11 15:25:52 +02:00
README.md Link to API documentation in README. 2017-06-21 23:23:26 -04:00
build.rs use byteorder for endian conversion, updated rustc_version version 2017-03-14 16:58:08 +01:00

README.md

bigint

Build Status

API Documentation

Fixed-sized integers arithmetic

extern crate bigint;
use bigint::U256;

fn main() {
	let mut val: U256 = 1023.into();
	for _ in 0..200 { val = val * 2.into() }
	assert_eq!(
		&format!("{}", val), 
		"1643897619276947051879427220465009342380213662639797070513307648"
	);
}