Trait/Object

scala.math.Numeric

FloatIsFractional

Related Docs: object FloatIsFractional | package Numeric

Permalink

trait FloatIsFractional extends FloatIsConflicted with Fractional[Float]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FloatIsFractional
  2. Fractional
  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 FractionalOps extends Ops

    Permalink
    Definition Classes
    Fractional
  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. def div(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatIsFractionalFractional
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. 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
  11. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. 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
  15. 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
  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. 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
  19. 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
  20. 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
  21. 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
  22. def minus(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  23. implicit def mkNumericOps(lhs: Float): FractionalOps

    Permalink
    Definition Classes
    FractionalNumeric
  24. implicit def mkOrderingOps(lhs: Float): FloatIsFractional.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
  25. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. 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
  30. def one: Float

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

    Permalink
    Definition Classes
    FloatIsConflictedNumeric
  32. def reverse: Ordering[Float]

    Permalink

    Return the opposite ordering of this one.

    Return the opposite ordering of this one.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  48. 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
  49. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Numeric

Inherited from Fractional[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