BigIntegerIsReal

Value members

Concrete methods

Inherited methods

override def abs(a: BigInteger): BigInteger
Definition Classes
Inherited from:
BigIntegerSigned
Inherited from:
IsIntegral
Inherited from:
BigIntegerOrder

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: BigInteger, y: BigInteger): Boolean
Definition Classes
Inherited from:
BigIntegerOrder
Inherited from:
IsIntegral

Convert the given BigInt to an instance of A.

Convert the given BigInt to an instance of A.

This is equivalent to n repeated summations of this ring's one, or -n summations of -one if n is negative.

Most type class instances should consider overriding this method for performance reasons.

Inherited from:
Ring

Convert the given integer to an instance of A.

Convert the given integer to an instance of A.

Defined to be equivalent to sumN(one, n).

That is, n repeated summations of this ring's one, or -n summations of -one if n is negative.

Most type class instances should consider overriding this method for performance reasons.

Inherited from:
Ring
override def gt(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Inherited from:
BigIntegerOrder
override def gteqv(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Inherited from:
BigIntegerOrder
def isOne(a: BigInteger)(implicit ev: Eq[BigInteger]): Boolean

Tests if a is one.

Tests if a is one.

Inherited from:
MultiplicativeMonoid
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
Signed
Inherited from:
IsIntegral
def isZero(a: BigInteger)(implicit ev: Eq[BigInteger]): Boolean

Tests if a is zero.

Tests if a is zero.

Inherited from:
AdditiveMonoid
override def lt(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Inherited from:
BigIntegerOrder
override def lteqv(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Inherited from:
BigIntegerOrder
override def max(x: BigInteger, y: BigInteger): BigInteger
Definition Classes
Inherited from:
BigIntegerOrder
override def min(x: BigInteger, y: BigInteger): BigInteger
Definition Classes
Inherited from:
BigIntegerOrder
Inherited from:
AdditiveGroup
override def neqv(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Inherited from:
BigIntegerOrder
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
override def pow(a: BigInteger, n: Int): BigInteger
@nowarn("msg=deprecated")

Given a sequence of as, compute the product.

Given a sequence of as, compute the product.

Inherited from:
MultiplicativeMonoid
Inherited from:
IsIntegral

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: BigInteger): Int
Definition Classes
Inherited from:
BigIntegerSigned
@nowarn("msg=deprecated")

Given a sequence of as, compute the sum.

Given a sequence of as, compute the sum.

Inherited from:
AdditiveMonoid
override def sumN(a: BigInteger, n: Int): BigInteger
Definition Classes
Inherited from:
AdditiveGroup

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

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
@nowarn("msg=deprecated")
@nowarn("msg=deprecated")
Definition Classes
Inherited from:
AdditiveMonoid
Inherited from:
AdditiveMonoid