Trait/Object

scala.math.Numeric

FloatAsIfIntegral

Related Docs: object FloatAsIfIntegral | package Numeric

Permalink

trait FloatAsIfIntegral extends FloatIsConflicted with Integral[Float]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FloatAsIfIntegral
  2. Integral
  3. FloatIsConflicted
  4. Numeric
  5. Ordering
  6. PartialOrdering
  7. Equiv
  8. Serializable
  9. Serializable
  10. Comparator
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class IntegralOps extends Ops

    Permalink
    Definition Classes
    Integral
  2. class Ops extends AnyRef

    Permalink
    Definition Classes
    Numeric

Abstract Value Members

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

    Permalink

    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. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def abs(x: Float): Float

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def equiv(x: Float, y: Float): Boolean

    Permalink

    Return true if x == y in the ordering.

    Return true if x == y in the ordering.

    Definition Classes
    OrderingPartialOrderingEquiv
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromInt(x: Int): Float

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def gt(x: Float, y: Float): Boolean

    Permalink

    Return true if x > y in the ordering.

    Return true if x > y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  14. def gteq(x: Float, y: Float): Boolean

    Permalink

    Return true if x >= y in the ordering.

    Return true if x >= y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def lt(x: Float, y: Float): Boolean

    Permalink

    Return true if x < y in the ordering.

    Return true if x < y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  18. def lteq(x: Float, y: Float): Boolean

    Permalink

    Return true if x <= y in the ordering.

    Return true if x <= y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  19. def max(x: Float, y: Float): Float

    Permalink

    Return x if x >= y, otherwise y.

    Return x if x >= y, otherwise y.

    Definition Classes
    Ordering
  20. def min(x: Float, y: Float): Float

    Permalink

    Return x if x <= y, otherwise y.

    Return x if x <= y, otherwise y.

    Definition Classes
    Ordering
  21. def minus(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  22. implicit def mkNumericOps(lhs: Float): IntegralOps

    Permalink
    Definition Classes
    IntegralNumeric
  23. implicit def mkOrderingOps(lhs: Float): FloatAsIfIntegral.Ops

    Permalink

    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
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def negate(x: Float): Float

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def on[U](f: (U) ⇒ Float): Ordering[U]

    Permalink

    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
  29. def one: Float

    Permalink
    Definition Classes
    Numeric
  30. def plus(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  31. def quot(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatAsIfIntegralIntegral
  32. def rem(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatAsIfIntegralIntegral
  33. def reverse: Ordering[Float]

    Permalink

    Return the opposite ordering of this one.

    Return the opposite ordering of this one.

    Definition Classes
    OrderingPartialOrdering
  34. def reversed(): Comparator[Float]

    Permalink
    Definition Classes
    Comparator
  35. def signum(x: Float): Int

    Permalink
    Definition Classes
    Numeric
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def thenComparing[U <: Comparable[_ >: U]](arg0: java.util.function.Function[_ >: Float, _ <: U]): Comparator[Float]

    Permalink
    Definition Classes
    Comparator
  38. def thenComparing[U](arg0: java.util.function.Function[_ >: Float, _ <: U], arg1: Comparator[_ >: U]): Comparator[Float]

    Permalink
    Definition Classes
    Comparator
  39. def thenComparing(arg0: Comparator[_ >: Float]): Comparator[Float]

    Permalink
    Definition Classes
    Comparator
  40. def thenComparingDouble(arg0: ToDoubleFunction[_ >: Float]): Comparator[Float]

    Permalink
    Definition Classes
    Comparator
  41. def thenComparingInt(arg0: ToIntFunction[_ >: Float]): Comparator[Float]

    Permalink
    Definition Classes
    Comparator
  42. def thenComparingLong(arg0: ToLongFunction[_ >: Float]): Comparator[Float]

    Permalink
    Definition Classes
    Comparator
  43. def times(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  44. def toDouble(x: Float): Double

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  45. def toFloat(x: Float): Float

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  46. def toInt(x: Float): Int

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  47. def toLong(x: Float): Long

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. def tryCompare(x: Float, y: Float): Some[Int]

    Permalink

    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
  50. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def zero: Float

    Permalink
    Definition Classes
    Numeric

Inherited from Integral[Float]

Inherited from FloatIsConflicted

Inherited from Numeric[Float]

Inherited from Ordering[Float]

Inherited from PartialOrdering[Float]

Inherited from Equiv[Float]

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Comparator[Float]

Inherited from AnyRef

Inherited from Any

Ungrouped