Returns the result of multiplying this and that
.
Returns the result of multiplying this and that
. If the result would have more than 64
bits, returns the low 64 bits of the result.
Returns the result of adding this and that
.
Returns the result of adding this and that
. If the result would have more than 64 bits,
returns the low 64 bits of the result.
Returns the result of subtracting this and that
.
Returns the result of subtracting this and that
. If the result would have more than 64
bits, returns the low 64 bits of the result.
Returns the result of dividing this by that
.
Returns the result of dividing this by that
.
Compares this unsigned Long to another unsigned Long.
Compares this unsigned Long to another unsigned Long.
Returns 0
if they are equal, a negative number if this < other
,
and a positive number if this > other
.
Returns this modulo that
.
Returns this modulo that
.
Returns the value of this ULong
as a BigInt
.
Returns the value of this ULong
as a BigInt
.
Returns the value of this ULong
as a Double
, analogous to a widening
primitive conversion from Long
to Double
, and correctly rounded.
Returns the value of this ULong
as a Double
, analogous to a widening
primitive conversion from Long
to Double
, and correctly rounded.
Returns the value of this ULong
as a Float
, analogous to a widening
primitive conversion from Long
to Float
, and correctly rounded.
Returns the value of this ULong
as a Float
, analogous to a widening
primitive conversion from Long
to Float
, and correctly rounded.
Returns the value of this ULong
as an Int
.
Returns the value of this ULong
as an Int
.
Returns the value of this ULong
as a Long
.
Returns the value of this ULong
as a Long
. This is an inverse operation
to #fromLongBits
.
Note that if this ULong
holds a value >= 2^63
, the returned value
will be equal to this - 2^64
.
Returns a string representation of the ULong
value, in base radix
.
Returns a string representation of the ULong
value, in base radix
. If
radix < Character.MIN_RADIX
or radix > Character.MAX_RADIX
, the radix
10
is used.
Returns a string representation of the ULong
value, in base 10.
Returns a string representation of the ULong
value, in base 10.
A value class for unsigned
Long
values, supporting arithmetic operations.See the Guava User Guide article on unsigned primitive utilities.
0.10 (copied from Guava-libraries)