Closed
Description
i worked with rust(bf98981)
i try to use bigint module. but bigint.add function cause segfault in some cases.
the cases is below
extern mod extra;
use extra::bigint;
use extra::bigint::BigInt;
use extra::bigint::FromStr;
fn main() {
let a:bigint::BigInt = FromStr::from_str("31").unwrap();
let b:bigint::BigInt = FromStr::from_str("999999999999999999999999999999999999").unwrap();
let c = (a+b).to_str();
println(format!("{:?}",c));
}