scala.math.Numeric

DoubleIsFractional

object DoubleIsFractional extends DoubleIsFractional with DoubleOrdering

attributes: implicit

Inherits

  1. DoubleOrdering
  2. DoubleIsFractional
  3. Fractional
  4. DoubleIsConflicted
  5. Numeric
  6. Ordering
  7. PartialOrdering
  8. Equiv
  9. Comparator
  10. AnyRef
  11. Any

Type Members

  1. class FractionalOps extends Ops

  2. class Ops extends AnyRef

Value Members

  1. def abs(x: T): T

  2. def compare(x: Double, y: Double): Int

    Returns a negative integer iff x comes before y in the ordering, returns 0 iff x is the same in the ordering as y, and returns a positive number iff x comes after y in the ordering

  3. def div(x: Double, y: Double): Double

  4. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  5. def equiv(x: T, y: T): Boolean

    Returns true iff x is equivalent to y in the ordering

  6. def fromInt(x: Int): Double

  7. def gt(x: T, y: T): Boolean

    Returns true iff y comes before x in the ordering and is not the same as x

  8. def gteq(x: T, y: T): Boolean

    Returns true iff y comes before x in the ordering

  9. def hashCode(): Int

    Returns a hash code value for the object

  10. def lt(x: T, y: T): Boolean

    Returns true iff x comes before y in the ordering and is not the same as y

  11. def lteq(x: T, y: T): Boolean

    Returns true iff x comes before y in the ordering

  12. def max(x: T, y: T): T

    Returns the argument which comes later in the ordering

  13. def min(x: T, y: T): T

    Returns the argument which comes earlier in the ordering

  14. def minus(x: Double, y: Double): Double

  15. def mkNumericOps(lhs: T): FractionalOps

  16. def mkOrderingOps(lhs: T): Ops

  17. def negate(x: Double): Double

  18. def on[U](f: (U) ⇒ T): Ordering[U]

    Given a function U => T, creates Ordering[U]

  19. def one: T

  20. def plus(x: Double, y: Double): Double

  21. def reverse: Ordering[T]

  22. def signum(x: T): Int

  23. def times(x: Double, y: Double): Double

  24. def toDouble(x: Double): Double

  25. def toFloat(x: Double): Float

  26. def toInt(x: Double): Int

  27. def toLong(x: Double): Long

  28. def toString(): String

    Returns a string representation of the object

  29. def tryCompare(x: T, y: T): Some[Int]

    An Ordering is defined at all x and y

  30. def zero: T