RationalContext

Properties

Link copied to clipboard
open override val one: Rational
Link copied to clipboard
Link copied to clipboard
open val Int.value: Rational
open val Long.value: Rational
open val UInt.value: Rational
open val ULong.value: Rational
Link copied to clipboard
open override val zero: Rational

Functions

Link copied to clipboard
open infix override fun Rational.compareWith(other: Rational): ComparisonResult
Link copied to clipboard
open operator override fun contains(element: Any?): Boolean
Link copied to clipboard
open operator override fun Rational.div(other: Rational): Rational
open operator override fun Rational.div(other: Int): Rational
open operator override fun Rational.div(other: Long): Rational
open operator override fun Rational.div(other: UInt): Rational
open operator override fun Rational.div(other: ULong): Rational
open operator override fun Int.div(other: Rational): Rational
open operator override fun Long.div(other: Rational): Rational
open operator override fun UInt.div(other: Rational): Rational
open operator override fun ULong.div(other: Rational): Rational
Link copied to clipboard
open infix override fun Rational.equalsTo(other: Rational): Boolean
Link copied to clipboard
open override fun Rational.hash(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun Rational.isOne(): Boolean
Link copied to clipboard
open override fun Rational.isZero(): Boolean
Link copied to clipboard
open operator override fun Rational.minus(other: Rational): Rational
open operator override fun Rational.minus(other: Int): Rational
open operator override fun Rational.minus(other: Long): Rational
open operator override fun Rational.minus(other: UInt): Rational
open operator override fun Rational.minus(other: ULong): Rational
open operator override fun Int.minus(other: Rational): Rational
open operator override fun Long.minus(other: Rational): Rational
open operator override fun UInt.minus(other: Rational): Rational
open operator override fun ULong.minus(other: Rational): Rational
Link copied to clipboard
open operator override fun Rational.plus(other: Rational): Rational
open operator override fun Rational.plus(other: Int): Rational
open operator override fun Rational.plus(other: Long): Rational
open operator override fun Rational.plus(other: UInt): Rational
open operator override fun Rational.plus(other: ULong): Rational
open operator override fun Int.plus(other: Rational): Rational
open operator override fun Long.plus(other: Rational): Rational
open operator override fun UInt.plus(other: Rational): Rational
open operator override fun ULong.plus(other: Rational): Rational
Link copied to clipboard
open infix fun Rational.pow(exponent: Int): Rational
open infix fun Rational.pow(exponent: Long): Rational
open infix fun Rational.pow(exponent: UInt): Rational
open infix fun Rational.pow(exponent: ULong): Rational
Link copied to clipboard
open fun power(base: Rational, exponent: Int): Rational
open fun power(base: Rational, exponent: Long): Rational
open fun power(base: Rational, exponent: UInt): Rational
open fun power(base: Rational, exponent: ULong): Rational
Link copied to clipboard
open override fun reify(element: Any?): Rational
Link copied to clipboard
open override fun reifyMaybe(element: Any?): Maybe<Rational>
Link copied to clipboard
open override fun reifyOrNull(element: Any?): Rational?
Link copied to clipboard
open operator override fun Rational.times(other: Rational): Rational
open operator override fun Rational.times(other: Int): Rational
open operator override fun Rational.times(other: Long): Rational
open operator override fun Rational.times(other: UInt): Rational
open operator override fun Rational.times(other: ULong): Rational
open operator override fun Int.times(other: Rational): Rational
open operator override fun Long.times(other: Rational): Rational
open operator override fun UInt.times(other: Rational): Rational
open operator override fun ULong.times(other: Rational): Rational
Link copied to clipboard
open operator override fun Rational.unaryMinus(): Rational
Link copied to clipboard
open override fun valueOf(arg: Int): Rational
open override fun valueOf(arg: Long): Rational
open override fun valueOf(arg: UInt): Rational
open override fun valueOf(arg: ULong): Rational