BigInt.this
this
(T x) pure @safeNo documentation available for this declaration.
this
(string s) pure @safeNo documentation available for this declaration.
Constructs a BigInt from a sign and magnitude.
This constructor creates a BigInt from a boolean sign flag and a range of magnitude digits (limbs).
Parameters
isNegative | true if the value should be negative, false otherwise |
magnitude | Range of magnitude digits in little-endian order (least significant digit first) Example: |
Constructs a BigInt from a bidirectional range of characters.
This constructor accepts any bidirectional range of characters and parses it to create a BigInt. Supports decimal and hexadecimal formats (with "0x" prefix).
Parameters
s | Bidirectional range of characters representing the number Example: |