BigIntSigned

trait BigIntSigned extends Signed[BigInt] with BigIntOrder
trait Order[BigInt]
trait PartialOrder[BigInt]
trait Eq[BigInt]
trait Serializable
trait Signed[BigInt]
class Object
trait Matchable
class Any

Value members

Concrete methods

override
def abs(a: BigInt): BigInt
Definition Classes
Signed
def order: Order[BigInt]
override
def signum(a: BigInt): Int
Definition Classes
Signed

Inherited methods

def additiveCommutativeMonoid: AdditiveCommutativeMonoid[BigInt]
Inherited from
Signed
def compare(x: BigInt, y: BigInt): Int
Inherited from
BigIntOrder
def comparison(x: BigInt, y: BigInt): Comparison

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
BigIntOrder -> Order -> PartialOrder -> Eq
Inherited from
BigIntOrder
override
def gt(x: BigInt, y: BigInt): Boolean
Definition Classes
BigIntOrder -> Order -> PartialOrder
Inherited from
BigIntOrder
override
def gteqv(x: BigInt, y: BigInt): Boolean
Definition Classes
BigIntOrder -> Order -> PartialOrder
Inherited from
BigIntOrder
def isSignNegative(a: BigInt): Boolean
Inherited from
Signed
def isSignNonNegative(a: BigInt): Boolean
Inherited from
Signed
def isSignNonPositive(a: BigInt): Boolean
Inherited from
Signed
def isSignNonZero(a: BigInt): Boolean
Inherited from
Signed
def isSignPositive(a: BigInt): Boolean
Inherited from
Signed
def isSignZero(a: BigInt): Boolean
Inherited from
Signed
override
def lt(x: BigInt, y: BigInt): Boolean
Definition Classes
BigIntOrder -> Order -> PartialOrder
Inherited from
BigIntOrder
override
def lteqv(x: BigInt, y: BigInt): Boolean
Definition Classes
BigIntOrder -> Order -> PartialOrder
Inherited from
BigIntOrder
override
def max(x: BigInt, y: BigInt): BigInt
Definition Classes
BigIntOrder -> Order
Inherited from
BigIntOrder
override
def min(x: BigInt, y: BigInt): BigInt
Definition Classes
BigIntOrder -> Order
Inherited from
BigIntOrder
override
def neqv(x: BigInt, y: BigInt): Boolean
Definition Classes
BigIntOrder -> Order -> Eq
Inherited from
BigIntOrder
def partialCompare(x: BigInt, y: BigInt): Double
Inherited from
Order
def partialComparison(x: BigInt, y: BigInt): Option[Comparison]

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
def pmax(x: BigInt, y: BigInt): Option[BigInt]

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 pmin(x: BigInt, y: BigInt): Option[BigInt]

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
def toOrdering: Ordering[BigInt]

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
def tryCompare(x: BigInt, y: BigInt): Option[Int]

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