Lines Matching defs:BigInt
15 impl FromStr for BigInt { implementation
19 fn from_str(s: &str) -> Result<BigInt, ParseBigIntError> { in from_str()
24 impl Num for BigInt { implementation
29 fn from_str_radix(mut s: &str, radix: u32) -> Result<BigInt, ParseBigIntError> { in from_str_radix()
44 impl ToPrimitive for BigInt { implementation
148 impl FromPrimitive for BigInt { implementation
150 fn from_i64(n: i64) -> Option<BigInt> { in from_i64()
155 fn from_i128(n: i128) -> Option<BigInt> { in from_i128()
160 fn from_u64(n: u64) -> Option<BigInt> { in from_u64()
165 fn from_u128(n: u128) -> Option<BigInt> { in from_u128()
170 fn from_f64(n: f64) -> Option<BigInt> { in from_f64()
180 impl From<i64> for BigInt { implementation
195 impl From<i128> for BigInt { implementation
226 impl From<u64> for BigInt { implementation
240 impl From<u128> for BigInt { implementation
270 impl From<BigUint> for BigInt { implementation
284 impl ToBigInt for BigInt { implementation
286 fn to_bigint(&self) -> Option<BigInt> { in to_bigint()
293 fn to_bigint(&self) -> Option<BigInt> { in to_bigint()
305 impl ToBigUint for BigInt { implementation
333 fn try_from(value: BigInt) -> Result<BigUint, TryFromBigIntError<BigInt>> { in try_from()
371 pub(super) fn from_signed_bytes_be(digits: &[u8]) -> BigInt { in from_signed_bytes_be()
389 pub(super) fn from_signed_bytes_le(digits: &[u8]) -> BigInt { in from_signed_bytes_le()