trait IsIntegral[A] extends IsRational[A]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IsIntegral
  2. IsRational
  3. IsAlgebraic
  4. IsReal
  5. Signed
  6. Order
  7. PartialOrder
  8. Eq
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def abs(a: A): A

    An idempotent function that ensures an object has a non-negative sign.

    An idempotent function that ensures an object has a non-negative sign.

    Definition Classes
    Signed
  2. abstract def compare(x: A, y: A): Int
    Definition Classes
    Order
  3. abstract def getClass(): Class[_]
    Definition Classes
    Any
  4. abstract def signum(a: A): Int

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Definition Classes
    Signed
  5. abstract def toBigInt(a: A): BigInt
  6. abstract def toDouble(a: A): Double

    Approximates a as a Double.

    Approximates a as a Double.

    Definition Classes
    IsReal

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def ceil(a: A): A

    Rounds a the nearest integer that is greater than or equal to a.

    Rounds a the nearest integer that is greater than or equal to a.

    Definition Classes
    IsIntegralIsReal
  6. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  7. def eqv(x: A, y: A): Boolean

    Returns true if x and y are equivalent, false otherwise.

    Returns true if x and y are equivalent, false otherwise.

    Definition Classes
    OrderPartialOrderEq
  8. def floor(a: A): A

    Rounds a the nearest integer that is less than or equal to a.

    Rounds a the nearest integer that is less than or equal to a.

    Definition Classes
    IsIntegralIsReal
  9. def gt(x: A, y: A): Boolean
    Definition Classes
    OrderPartialOrder
  10. def gteqv(x: A, y: A): Boolean
    Definition Classes
    OrderPartialOrder
  11. def hashCode(): Int
    Definition Classes
    Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isSignNegative(a: A): Boolean
    Definition Classes
    Signed
  14. def isSignNonNegative(a: A): Boolean
    Definition Classes
    Signed
  15. def isSignNonPositive(a: A): Boolean
    Definition Classes
    Signed
  16. def isSignNonZero(a: A): Boolean
    Definition Classes
    Signed
  17. def isSignPositive(a: A): Boolean
    Definition Classes
    Signed
  18. def isSignZero(a: A): Boolean
    Definition Classes
    Signed
  19. def isWhole(a: A): Boolean

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    IsIntegralIsReal
  20. def lt(x: A, y: A): Boolean
    Definition Classes
    OrderPartialOrder
  21. def lteqv(x: A, y: A): Boolean
    Definition Classes
    OrderPartialOrder
  22. def max(x: A, y: A): A
    Definition Classes
    Order
  23. def min(x: A, y: A): A
    Definition Classes
    Order
  24. def neqv(x: A, y: A): Boolean

    Returns false if x and y are equivalent, true otherwise.

    Returns false if x and y are equivalent, true otherwise.

    Definition Classes
    Eq
  25. def on[B](f: (B) ⇒ A): Order[B]

    Defines an order on B by mapping B to A using f and using As order to order B.

    Defines an order on B by mapping B to A using f and using As order to order B.

    Definition Classes
    OrderPartialOrderEq
  26. def partialCompare(x: A, y: A): Double

    Result of comparing x with y.

    Result of comparing x with y. Returns NaN if operands are not comparable. If operands are comparable, returns a Double whose sign is: - negative iff x < y - zero iff x === y - positive iff x > y

    Definition Classes
    OrderPartialOrder
  27. def pmax(x: A, y: A): Option[A]

    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.

    Definition Classes
    PartialOrder
  28. def pmin(x: A, y: A): Option[A]

    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.

    Definition Classes
    PartialOrder
  29. def reverse: Order[A]

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  30. def round(a: A): A

    Rounds a to the nearest integer.

    Rounds a to the nearest integer.

    Definition Classes
    IsIntegralIsReal
  31. def sign(a: A): 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.

    Definition Classes
    Signed
  32. def toAlgebraic(a: A): Algebraic
    Definition Classes
    IsRationalIsAlgebraic
  33. def toRational(a: A): Rational
    Definition Classes
    IsIntegralIsRational
  34. def toReal(a: A): Real
    Definition Classes
    IsAlgebraicIsReal
  35. def toString(): String
    Definition Classes
    Any
  36. def tryCompare(x: A, y: A): Option[Int]

    Result of comparing x with y.

    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

    Definition Classes
    PartialOrder

Inherited from IsRational[A]

Inherited from IsAlgebraic[A]

Inherited from IsReal[A]

Inherited from Signed[A]

Inherited from Order[A]

Inherited from PartialOrder[A]

Inherited from Eq[A]

Inherited from Any

Ungrouped