RationalField

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
Link copied to clipboard
open override val zero: Rational

Functions

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 Int.div(other: Rational): Rational
open operator override fun Long.div(other: Rational): Rational
Link copied to clipboard
open infix fun Rational.eq(other: Rational): Boolean
Link copied to clipboard
open infix override fun Rational.equalsTo(other: Rational): Boolean
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 Int.minus(other: Rational): Rational
open operator override fun Long.minus(other: Rational): Rational
Link copied to clipboard
open infix fun Rational.neq(other: Rational): Boolean
Link copied to clipboard
open infix fun Rational.notEqualsTo(other: Rational): Boolean
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 Int.plus(other: Rational): Rational
open operator override fun Long.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 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 Int.times(other: Rational): Rational
open operator override fun Long.times(other: Rational): Rational
Link copied to clipboard
open operator override fun Rational.unaryMinus(): Rational
Link copied to clipboard
open operator fun Rational.unaryPlus(): Rational
Link copied to clipboard
open override fun valueOf(arg: Int): Rational
open override fun valueOf(arg: Long): Rational