SafeLongIsReal

Value members

Inherited methods

override def abs(a: SafeLong): SafeLong
Definition Classes
SafeLongSigned -> Signed
Inherited from:
SafeLongSigned
Inherited from:
IsIntegral
Inherited from:
SafeLongOrder

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: SafeLong, y: SafeLong): Boolean
Definition Classes
SafeLongOrder -> Order -> PartialOrder -> Eq
Inherited from:
SafeLongOrder
Inherited from:
IsIntegral
def fmod(lhs: SafeLong, rhs: SafeLong): SafeLong
Inherited from:
SafeLongTruncatedDivision
def fquot(lhs: SafeLong, rhs: SafeLong): SafeLong
Inherited from:
SafeLongTruncatedDivision
override def fquotmod(lhs: SafeLong, rhs: SafeLong): (SafeLong, SafeLong)
Definition Classes
SafeLongTruncatedDivision -> TruncatedDivision
Inherited from:
SafeLongTruncatedDivision
override def gt(x: SafeLong, y: SafeLong): Boolean
Definition Classes
SafeLongOrder -> Order -> PartialOrder
Inherited from:
SafeLongOrder
override def gteqv(x: SafeLong, y: SafeLong): Boolean
Definition Classes
SafeLongOrder -> Order -> PartialOrder
Inherited from:
SafeLongOrder
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
IsIntegral
override def lt(x: SafeLong, y: SafeLong): Boolean
Definition Classes
SafeLongOrder -> Order -> PartialOrder
Inherited from:
SafeLongOrder
override def lteqv(x: SafeLong, y: SafeLong): Boolean
Definition Classes
SafeLongOrder -> Order -> PartialOrder
Inherited from:
SafeLongOrder

If x > y, return x, else return y.

If x > y, return x, else return y.

Inherited from:
Order

If x < y, return x, else return y.

If x < y, return x, else return y.

Inherited from:
Order
override def neqv(x: SafeLong, y: SafeLong): Boolean
Definition Classes
SafeLongOrder -> Order -> Eq
Inherited from:
SafeLongOrder
Inherited from:
SafeLongSigned
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
Inherited from:
IsIntegral
def sign(a: SafeLong): 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
override def signum(a: SafeLong): Int
Definition Classes
SafeLongSigned -> Signed
Inherited from:
SafeLongSigned
Inherited from:
SafeLongTruncatedDivision
Inherited from:
IsRational
Inherited from:
SafeLongIsReal
Inherited from:
SafeLongTruncatedDivision
Inherited from:
SafeLongIsReal

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
Inherited from:
IsIntegral
Inherited from:
IsAlgebraic
Inherited from:
SafeLongTruncatedDivision
override def tquotmod(x: SafeLong, y: SafeLong): (SafeLong, SafeLong)
Definition Classes
SafeLongTruncatedDivision -> TruncatedDivision
Inherited from:
SafeLongTruncatedDivision

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