module numpy.dragon4¶
Source: stdlib/numpy/dragon4.codon
numpy.dragon4¶Source: stdlib/numpy/dragon4.codon
BigInt¶length: int¶blocks: Ptr[u32]¶even @property Method is a class property ¶__init__(self, length: int, blocks: Ptr[u32])¶__init__(self)¶__str__(self)¶__getitem__(self, idx: int)¶__setitem__(self, idx: int, val: u32)¶__setitem__(self, idx: int, val: u64)¶__len__(self)¶__bool__(self)¶__eq__(self, other: BigInt)¶__ne__(self, other: BigInt)¶__lt__(self, other: BigInt)¶__le__(self, other: BigInt)¶__gt__(self, other: BigInt)¶__ge__(self, other: BigInt)¶make_pow10(i: u32)¶copy(self, dst: BigInt)¶set(self, val: u64)¶set(self, hi: u64, lo: u64)¶set(self, val: u32)¶compare(self, rhs: BigInt)¶add(self, lhs: BigInt, rhs: BigInt)¶mul(self, lhs: BigInt, rhs: BigInt)¶mul(self, lhs: BigInt, rhs: u32)¶mul2(self, in_: BigInt)¶mul2(self)¶mul10(self)¶pow10(self, exponent: u32, temp: BigInt)¶mul_pow10(self, exponent: u32, temp: BigInt)¶pow2(self, exponent: u32)¶div_with_rem_maxq9(self, divisor: BigInt)¶lshift(self, shift: u32)¶dragon4(bigints, exponent: i32, mantissa_bit: u32, has_unequal_margins: bool, digit_mode: int, cutoff_mode: int, cutoff_max: int, cutoff_min: int, out_buffer: cobj, buffer_size: int, out_exponent: Ptr[i32])¶format_positional(buffer: cobj, buffer_size: int, mantissa, exponent: i32, signbit: byte, mantissa_bit: u32, has_unequal_margins: bool, digit_mode: int, cutoff_mode: int, precision: i32, min_digits: i32, trim_mode: int, digits_left: int, digits_right: int)¶format_scientific(buffer: cobj, buffer_size: int, mantissa, exponent: i32, signbit: byte, mantissa_bit: u32, has_unequal_margins: bool, digit_mode: int, precision: i32, min_digits: i32, trim_mode: int, digits_left: int, exp_digits: int)¶print_inf_nan(buffer: cobj, buffer_size: int, mantissa: u64, mantissa_hex_width: int, signbit: byte)¶format_float_bits(buffer: cobj, buffer_size: int, mantissa, exponent: i32, signbit: byte, mantissa_bit: u32, has_unequal_margins: bool, scientific: bool, digit_mode: int, cutoff_mode: int, precision: i32, min_digits: i32, sign: bool, trim_mode: int, digits_left: int, digits_right: int, exp_digits: int)¶format_ieee16(value: float16, scientific: bool = False, unique: bool = True, fractional: bool = True, precision: int = -1, min_digits: int = -1, sign: bool = False, trim_mode: str = "k", digits_left: int = -1, digits_right: int = -1, exp_digits: int = -1)¶format_ieee32(value: float32, scientific: bool = False, unique: bool = True, fractional: bool = True, precision: int = -1, min_digits: int = -1, sign: bool = False, trim_mode: str = "k", digits_left: int = -1, digits_right: int = -1, exp_digits: int = -1)¶format_ieee64(value: float, scientific: bool = False, unique: bool = True, fractional: bool = True, precision: int = -1, min_digits: int = -1, sign: bool = False, trim_mode: str = "k", digits_left: int = -1, digits_right: int = -1, exp_digits: int = -1)¶format_ieee128(value: float128, scientific: bool = False, unique: bool = True, fractional: bool = True, precision: int = -1, min_digits: int = -1, sign: bool = False, trim_mode: str = "k", digits_left: int = -1, digits_right: int = -1, exp_digits: int = -1)¶format_float(value, scientific: bool = False, unique: bool = True, fractional: bool = True, precision: int = -1, min_digits: int = -1, sign: bool = False, trim_mode: str = "k", digits_left: int = -1, digits_right: int = -1, exp_digits: int = -1)¶format_float_positional(x, precision: Optional[int] = None, unique: bool = True, fractional: bool = True, trim: str = "k", sign: bool = False, pad_left: Optional[int] = None, pad_right: Optional[int] = None, min_digits: Optional[int] = None)¶format_float_scientific(x, precision: Optional[int] = None, unique: bool = True, trim: str = "k", sign: bool = False, pad_left: Optional[int] = None, exp_digits: Optional[int] = None, min_digits: Optional[int] = None)¶