Unsigned 64-bit integer type and operations.

Static variables

staticfinalread onlyMAX:UInt64

The greatest representable UInt64 value.

staticfinalread onlyONE:UInt64

The integer 1

staticfinalread onlyZERO:UInt64

The integer 0

Static methods

@:noExprstaticcompare(a:UInt64, b:UInt64):Int

Compare given values. Returns 0 if the values are equal. Returns negative integer if a is lesser than b. Returns positive integer if a is greater than b.

@:noExprstaticmax(a:UInt64, b:UInt64):UInt64

Returns the greater of a and b.

@:noExprstaticmin(a:UInt64, b:UInt64):UInt64

Returns the lesser of a and b.

@:noExprstaticofInt(i:Int):UInt64

Convert the given int value to an unsigned integer.

@:noExprstaticofString(s:String):UInt64

Parse the given string value to an unsigned integer. Throws if the given string is not a valid representation of an unsigned integer.

@:noExprstaticpredecessor(this:UInt64):String

Predecessor.

@:noExprstaticremainder(this:UInt64, u:UInt64):UInt64

Integer remainder. Throws if the divisor is zero.

@:noExprstaticsuccessor(this:UInt64):String

Successor.

@:noExprstatictoInt(this:UInt64):Int

Convert to an integer value. The 64-bit unsigned integer is taken modulo 2{^32}, i.e. the top 32 bits are lost during the conversion.

@:noExprstatictoInt64(this:UInt64):Int64

Convert to a signed integer value.

@:noExprstatictoString(this:UInt64):String

Return the string representation of this value.