Companion
Properties
The CheckedMethod for IntegerDescriptor.fromInt.
The Avail integer negative one (-1).
An Avail integer representing one (1).
An Avail integer representing two (2).
An Avail integer representing zero (0).
Functions
Answer the nth successive square of a (U.S.) quintillion, which will be (10^18)^(2^n). N must be ≥ 0. Cache this number for performance.
Create a mutable Avail integer with the specified number of uninitialized Int slots.
Extract a double from this integer, but scale it down by the specified power of two in the process. If the integer is beyond the scale of a double but the scale would bring it in range, don't overflow.
Create an Avail integer that is the numerical equivalent of the given Java BigInteger.
Convert the specified Long into a boxed Avail integer.
Convert the specified byte-valued Java short into an Avail integer.
Answer the number of int slots in the passed integer object, which must not be an indirection.
Answer an AvailObject representing the integer negative one (-1).
Answer an Avail integer that holds the truncation of the double argument, rounded towards zero.