Int53

inline class Int53(val value: Double) : Comparable<Int53>

Deprecated

Represents and integral value of 52-bits + sign using a Double as internal representation. Trying to avoid allocations on the JS target by not using Long when 53 bits is enough.

Constructors

Link copied to clipboard
constructor(value: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val high: Int
Link copied to clipboard
val int: Int
Link copied to clipboard
val long: Long
Link copied to clipboard
val low: Int
Link copied to clipboard

Functions

Link copied to clipboard
infix fun and(other: Int53): Int53
Link copied to clipboard
open operator override fun compareTo(other: Int53): Int
fun compareTo(other: Double): Int
fun compareTo(other: Float): Int
fun compareTo(other: Int): Int
Link copied to clipboard
operator fun div(other: Int53): Int53
operator fun div(other: Double): Int53
operator fun div(other: Float): Int53
operator fun div(other: Int): Int53
Link copied to clipboard
fun inv(): Int53
Link copied to clipboard
operator fun minus(other: Int53): Int53
operator fun minus(other: Double): Int53
operator fun minus(other: Float): Int53
operator fun minus(other: Int): Int53
Link copied to clipboard
infix fun or(other: Int53): Int53
Link copied to clipboard
operator fun plus(other: Int53): Int53
operator fun plus(other: Double): Int53
operator fun plus(other: Float): Int53
operator fun plus(other: Int): Int53
Link copied to clipboard
operator fun rem(other: Int53): Int53
operator fun rem(other: Double): Int53
operator fun rem(other: Float): Int53
operator fun rem(other: Int): Int53
Link copied to clipboard
operator fun times(other: Int53): Int53
operator fun times(other: Double): Int53
operator fun times(other: Float): Int53
operator fun times(other: Int): Int53
Link copied to clipboard
Link copied to clipboard
fun toInt(): Int
Link copied to clipboard
fun toLong(): Long
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
operator fun unaryMinus(): Int53
Link copied to clipboard
operator fun unaryPlus(): Int53
Link copied to clipboard
infix fun xor(other: Int53): Int53