Packages

trait BigIntIsIntegral extends Integral[BigInt]

Source
Numeric.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BigIntIsIntegral
  2. Integral
  3. Numeric
  4. Ordering
  5. PartialOrdering
  6. Equiv
  7. Serializable
  8. Serializable
  9. Comparator
  10. AnyRef
  11. Any
Implicitly
  1. by orderingToOrdered
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class IntegralOps extends Ops
    Definition Classes
    Integral
  2. class Ops extends AnyRef
    Definition Classes
    Numeric

Abstract Value Members

  1. abstract def compare(x: BigInt, y: BigInt): Int

    Returns an integer whose sign communicates how x compares to y.

    Returns an integer whose sign communicates how x compares to y.

    The result sign has the following meaning:

    • negative if x < y
    • positive if x > y
    • zero otherwise (if x == y)
    Definition Classes
    Ordering → Comparator

Concrete Value Members

  1. def <(that: BigIntIsIntegral): Boolean

    Returns true if this is less than that

    Returns true if this is less than that

    Implicit
    This member is added by an implicit conversion from BigIntIsIntegral to Ordered[BigIntIsIntegral] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[BigIntIsIntegral] is in scope.
    Definition Classes
    Ordered
  2. def <=(that: BigIntIsIntegral): Boolean

    Returns true if this is less than or equal to that.

    Returns true if this is less than or equal to that.

    Implicit
    This member is added by an implicit conversion from BigIntIsIntegral to Ordered[BigIntIsIntegral] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[BigIntIsIntegral] is in scope.
    Definition Classes
    Ordered
  3. def >(that: BigIntIsIntegral): Boolean

    Returns true if this is greater than that.

    Returns true if this is greater than that.

    Implicit
    This member is added by an implicit conversion from BigIntIsIntegral to Ordered[BigIntIsIntegral] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[BigIntIsIntegral] is in scope.
    Definition Classes
    Ordered
  4. def >=(that: BigIntIsIntegral): Boolean

    Returns true if this is greater than or equal to that.

    Returns true if this is greater than or equal to that.

    Implicit
    This member is added by an implicit conversion from BigIntIsIntegral to Ordered[BigIntIsIntegral] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[BigIntIsIntegral] is in scope.
    Definition Classes
    Ordered
  5. def abs(x: BigInt): BigInt
    Definition Classes
    Numeric
  6. def compareTo(that: BigIntIsIntegral): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Implicit
    This member is added by an implicit conversion from BigIntIsIntegral to Ordered[BigIntIsIntegral] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[BigIntIsIntegral] is in scope.
    Definition Classes
    Ordered → Comparable
  7. def equiv(x: BigInt, y: BigInt): Boolean

    Return true if x == y in the ordering.

    Return true if x == y in the ordering.

    Definition Classes
    OrderingPartialOrderingEquiv
  8. def fromInt(x: Int): BigInt
    Definition Classes
    BigIntIsIntegralNumeric
  9. def gt(x: BigInt, y: BigInt): Boolean

    Return true if x > y in the ordering.

    Return true if x > y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  10. def gteq(x: BigInt, y: BigInt): Boolean

    Return true if x >= y in the ordering.

    Return true if x >= y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  11. def lt(x: BigInt, y: BigInt): Boolean

    Return true if x < y in the ordering.

    Return true if x < y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  12. def lteq(x: BigInt, y: BigInt): Boolean

    Return true if x <= y in the ordering.

    Return true if x <= y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  13. def max(x: BigInt, y: BigInt): BigInt

    Return x if x >= y, otherwise y.

    Return x if x >= y, otherwise y.

    Definition Classes
    Ordering
  14. def min(x: BigInt, y: BigInt): BigInt

    Return x if x <= y, otherwise y.

    Return x if x <= y, otherwise y.

    Definition Classes
    Ordering
  15. def minus(x: BigInt, y: BigInt): BigInt
    Definition Classes
    BigIntIsIntegralNumeric
  16. implicit def mkNumericOps(lhs: BigInt): IntegralOps
    Definition Classes
    IntegralNumeric
  17. implicit def mkOrderingOps(lhs: BigInt): BigIntIsIntegral.Ops

    This implicit method augments T with the comparison operators defined in scala.math.Ordering.Ops.

    This implicit method augments T with the comparison operators defined in scala.math.Ordering.Ops.

    Definition Classes
    Ordering
  18. def negate(x: BigInt): BigInt
    Definition Classes
    BigIntIsIntegralNumeric
  19. def on[U](f: (U) ⇒ BigInt): Ordering[U]

    Given f, a function from U into T, creates an Ordering[U] whose compare function is equivalent to:

    Given f, a function from U into T, creates an Ordering[U] whose compare function is equivalent to:

    def compare(x:U, y:U) = Ordering[T].compare(f(x), f(y))
    Definition Classes
    Ordering
  20. def one: BigInt
    Definition Classes
    Numeric
  21. def plus(x: BigInt, y: BigInt): BigInt
    Definition Classes
    BigIntIsIntegralNumeric
  22. def quot(x: BigInt, y: BigInt): BigInt
    Definition Classes
    BigIntIsIntegralIntegral
  23. def rem(x: BigInt, y: BigInt): BigInt
    Definition Classes
    BigIntIsIntegralIntegral
  24. def reverse: Ordering[BigInt]

    Return the opposite ordering of this one.

    Return the opposite ordering of this one.

    Definition Classes
    OrderingPartialOrdering
  25. def reversed(): Comparator[BigInt]
    Definition Classes
    Comparator
  26. def signum(x: BigInt): Int
    Definition Classes
    Numeric
  27. def thenComparing[U <: Comparable[_ >: U]](arg0: java.util.function.Function[_ >: BigInt, _ <: U]): Comparator[BigInt]
    Definition Classes
    Comparator
  28. def thenComparing[U](arg0: java.util.function.Function[_ >: BigInt, _ <: U], arg1: Comparator[_ >: U]): Comparator[BigInt]
    Definition Classes
    Comparator
  29. def thenComparing(arg0: Comparator[_ >: BigInt]): Comparator[BigInt]
    Definition Classes
    Comparator
  30. def thenComparingDouble(arg0: ToDoubleFunction[_ >: BigInt]): Comparator[BigInt]
    Definition Classes
    Comparator
  31. def thenComparingInt(arg0: ToIntFunction[_ >: BigInt]): Comparator[BigInt]
    Definition Classes
    Comparator
  32. def thenComparingLong(arg0: ToLongFunction[_ >: BigInt]): Comparator[BigInt]
    Definition Classes
    Comparator
  33. def times(x: BigInt, y: BigInt): BigInt
    Definition Classes
    BigIntIsIntegralNumeric
  34. def toDouble(x: BigInt): Double
    Definition Classes
    BigIntIsIntegralNumeric
  35. def toFloat(x: BigInt): Float
    Definition Classes
    BigIntIsIntegralNumeric
  36. def toInt(x: BigInt): Int
    Definition Classes
    BigIntIsIntegralNumeric
  37. def toLong(x: BigInt): Long
    Definition Classes
    BigIntIsIntegralNumeric
  38. def tryCompare(x: BigInt, y: BigInt): Some[Int]

    Returns whether a comparison between x and y is defined, and if so the result of compare(x, y).

    Returns whether a comparison between x and y is defined, and if so the result of compare(x, y).

    Definition Classes
    OrderingPartialOrdering
  39. def zero: BigInt
    Definition Classes
    Numeric

Shadowed Implicit Value Members

  1. def compare(that: BigIntIsIntegral): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Implement this method to determine how instances of A will be sorted.

    Returns x where:

    • x < 0 when this < that
    • x == 0 when this == that
    • x > 0 when this > that
    Implicit
    This member is added by an implicit conversion from BigIntIsIntegral to Ordered[BigIntIsIntegral] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[BigIntIsIntegral] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (bigIntIsIntegral: Ordered[BigIntIsIntegral]).compare(that)
    Definition Classes
    Ordered