scala.math.Numeric

FloatIsFractional

object FloatIsFractional extends FloatIsFractional with FloatOrdering

attributes: implicit
go to: companion
source: Numeric.scala
Inherited
  1. Hide All
  2. Show all
  1. FloatOrdering
  2. FloatIsFractional
  3. Fractional
  4. Numeric
  5. Ordering
  6. PartialOrdering
  7. Equiv
  8. Comparator
  9. AnyRef
  10. Any
Visibility
  1. Public
  2. All

Type Members

  1. class FractionalOps extends Ops

  2. class Ops extends AnyRef

Value Members

  1. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  7. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  8. def abs(x: T): T

  9. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  10. def clone(): AnyRef

    This method creates and returns a copy of the receiver object.

  11. def compare(x: Float, y: Float): Int

    Returns a negative integer iff x comes beforey in the ordering, returns 0 iff xis the same in the ordering as y, and returns a positive number iff x comes aftery in the ordering.

  12. def div(x: Float, y: Float): Float

  13. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  14. def equals(arg0: Any): Boolean

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

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

    Returns true iff x is equivalent to y in the ordering.

  16. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  17. def fromInt(x: Int): Float

  18. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

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

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

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

    Returns true iff y comes before x in the ordering.

  21. def hashCode(): Int

    Returns a hash code value for the object.

  22. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

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

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

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

    Returns true iff x comes before y in the ordering.

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

    Returns the argument which comes later in the ordering.

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

    Returns the argument which comes earlier in the ordering.

  27. def minus(x: Float, y: Float): Float

  28. implicit def mkNumericOps(lhs: T): FractionalOps

  29. implicit def mkOrderingOps(lhs: T): Ops

  30. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  31. def negate(x: Float): Float

  32. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  33. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

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

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

  35. def one: T

  36. def plus(x: Float, y: Float): Float

  37. def reverse: Ordering[T]

  38. def signum(x: T): Int

  39. def synchronized[T0](arg0: T0): T0

  40. def times(x: Float, y: Float): Float

  41. def toDouble(x: Float): Double

  42. def toFloat(x: Float): Float

  43. def toInt(x: Float): Int

  44. def toLong(x: Float): Long

  45. def toString(): String

    Returns a string representation of the object.

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

    An Ordering is defined at all x and y.

  47. def wait(): Unit

  48. def wait(arg0: Long, arg1: Int): Unit

  49. def wait(arg0: Long): Unit

  50. def zero: T