BigIntSigned

trait Order[BigInt]
trait Eq[BigInt]
trait Signed[BigInt]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def abs(a: BigInt): BigInt
Definition Classes
override def signum(a: BigInt): Int
Definition Classes

Inherited methods

def compare(x: BigInt, y: BigInt): Int
Inherited from:
BigIntOrder

Like compare, but returns a cats.kernel.Comparison instead of an Int. Has the benefit of being able to pattern match on, but not as performant.

Like compare, but returns a cats.kernel.Comparison instead of an Int. Has the benefit of being able to pattern match on, but not as performant.

Inherited from:
Order
override def eqv(x: BigInt, y: BigInt): Boolean
Definition Classes
Inherited from:
BigIntOrder
override def gt(x: BigInt, y: BigInt): Boolean
Definition Classes
Inherited from:
BigIntOrder
override def gteqv(x: BigInt, y: BigInt): Boolean
Definition Classes
Inherited from:
BigIntOrder
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
override def lt(x: BigInt, y: BigInt): Boolean
Definition Classes
Inherited from:
BigIntOrder
override def lteqv(x: BigInt, y: BigInt): Boolean
Definition Classes
Inherited from:
BigIntOrder
override def max(x: BigInt, y: BigInt): BigInt
Definition Classes
Inherited from:
BigIntOrder
override def min(x: BigInt, y: BigInt): BigInt
Definition Classes
Inherited from:
BigIntOrder
override def neqv(x: BigInt, y: BigInt): Boolean
Definition Classes
Inherited from:
BigIntOrder
Inherited from:
Order

Like partialCompare, but returns a cats.kernel.Comparison instead of an Double. Has the benefit of being able to pattern match on, but not as performant.

Like partialCompare, but returns a cats.kernel.Comparison instead of an Double. Has the benefit of being able to pattern match on, but not as performant.

Inherited from:
PartialOrder

Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

Inherited from:
PartialOrder

Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

Inherited from:
PartialOrder
def sign(a: BigInt): Sign

Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

Inherited from:
Signed

Convert a Order[A] to a scala.math.Ordering[A] instance.

Convert a Order[A] to a scala.math.Ordering[A] instance.

Inherited from:
Order

Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is:

Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is:

  • negative iff x < y
  • zero iff x = y
  • positive iff x > y
Inherited from:
PartialOrder