true for negative, false for non-negative (ignored when magnitude is zero)
a finite range of unsigned integers
ubyte[] magnitude = [1, 2, 3, 4, 5, 6]; auto b1 = BigInt(false, magnitude); assert(cast(long) b1 == 0x01_02_03_04_05_06L); auto b2 = BigInt(true, magnitude); assert(cast(long) b2 == -0x01_02_03_04_05_06L);
Construct a BigInt from a sign and a magnitude.
The magnitude is an input range of unsigned integers that satisfies either std.range.primitives.hasLength or std.range.primitives.isForwardRange. The first (leftmost) element of the magnitude is considered the most significant.