SmallRationalIsFractional

io.github.edadma.numbers.SmallRationalIsFractional
trait SmallRationalIsFractional extends Fractional[SmallRational]

Attributes

Graph
Supertypes
trait Fractional[SmallRational]
trait Numeric[SmallRational]
trait Ordering[SmallRational]
trait PartialOrdering[SmallRational]
trait Equiv[SmallRational]
trait Serializable
trait Comparator[SmallRational]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Inherited classlikes

class FractionalOps(lhs: T)

Attributes

Inherited from:
Fractional
Supertypes
class NumericOps
class Object
trait Matchable
class Any
class NumericOps(lhs: T)

Attributes

Inherited from:
Numeric
Supertypes
class Object
trait Matchable
class Any
class OrderingOps(lhs: T)

Attributes

Inherited from:
Ordering
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

Attributes

Inherited from:
Numeric
override def equiv(x: SmallRational, y: SmallRational): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering -> Equiv
Inherited from:
Ordering
override def gt(x: SmallRational, y: SmallRational): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def gteq(x: SmallRational, y: SmallRational): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def isReverseOf(other: Ordering[_]): Boolean

Attributes

Inherited from:
Ordering
override def lt(x: SmallRational, y: SmallRational): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def lteq(x: SmallRational, y: SmallRational): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def max[U <: SmallRational](x: U, y: U): U

Attributes

Inherited from:
Ordering
def min[U <: SmallRational](x: U, y: U): U

Attributes

Inherited from:
Ordering
def on[U](f: U => SmallRational): Ordering[U]

Attributes

Inherited from:
Ordering

Attributes

Inherited from:
Numeric
def orElse(other: Ordering[SmallRational]): Ordering[SmallRational]

Attributes

Inherited from:
Ordering
def orElseBy[S](f: SmallRational => S)(implicit ord: Ordering[S]): Ordering[SmallRational]

Attributes

Inherited from:
Ordering
override def reverse: Ordering[SmallRational]

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def reversed(): Comparator[SmallRational]

Attributes

Inherited from:
Comparator

Attributes

Inherited from:
Numeric
def thenComparing[U <: Comparable[_ >: U <: <FromJavaObject>]](x$0: Function[_ >: SmallRational <: <FromJavaObject>, _ <: U]): Comparator[SmallRational]

Attributes

Inherited from:
Comparator
def thenComparing[U <: <FromJavaObject>](x$0: Function[_ >: SmallRational <: <FromJavaObject>, _ <: U], x$1: Comparator[_ >: U <: <FromJavaObject>]): Comparator[SmallRational]

Attributes

Inherited from:
Comparator
def thenComparing(x$0: Comparator[_ >: SmallRational <: <FromJavaObject>]): Comparator[SmallRational]

Attributes

Inherited from:
Comparator
def thenComparingDouble(x$0: ToDoubleFunction[_ >: SmallRational <: <FromJavaObject>]): Comparator[SmallRational]

Attributes

Inherited from:
Comparator
def thenComparingInt(x$0: ToIntFunction[_ >: SmallRational <: <FromJavaObject>]): Comparator[SmallRational]

Attributes

Inherited from:
Comparator
def thenComparingLong(x$0: ToLongFunction[_ >: SmallRational <: <FromJavaObject>]): Comparator[SmallRational]

Attributes

Inherited from:
Comparator
def tryCompare(x: SmallRational, y: SmallRational): Some[Int]

Attributes

Inherited from:
Ordering

Attributes

Inherited from:
Numeric

Deprecated and Inherited methods

def signum(x: SmallRational): Int

Attributes

Deprecated
[Since version 2.13.0] use `sign` method instead
Inherited from:
Numeric

Implicits

Inherited implicits

implicit override def mkNumericOps(lhs: SmallRational): FractionalOps

Attributes

Definition Classes
Fractional -> Numeric
Inherited from:
Fractional

Attributes

Inherited from:
Ordering