Class/Object

scala

Float

Related Docs: object Float | package scala

Permalink

abstract final class Float extends AnyVal

Float, a 32-bit IEEE-754 floating point number (equivalent to Java's float primitive type) is a subtype of scala.AnyVal. Instances of Float are not represented by an object in the underlying runtime system.

There is an implicit conversion from scala.Float => scala.runtime.RichFloat which provides useful non-primitive operations.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Float
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def !=(x: Double): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

  2. abstract def !=(x: Float): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

  3. abstract def !=(x: Long): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

  4. abstract def !=(x: Int): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

  5. abstract def !=(x: Char): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

  6. abstract def !=(x: Short): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

  7. abstract def !=(x: Byte): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

  8. abstract def %(x: Double): Double

    Permalink

    Returns the remainder of the division of this value by x.

  9. abstract def %(x: Float): Float

    Permalink

    Returns the remainder of the division of this value by x.

  10. abstract def %(x: Long): Float

    Permalink

    Returns the remainder of the division of this value by x.

  11. abstract def %(x: Int): Float

    Permalink

    Returns the remainder of the division of this value by x.

  12. abstract def %(x: Char): Float

    Permalink

    Returns the remainder of the division of this value by x.

  13. abstract def %(x: Short): Float

    Permalink

    Returns the remainder of the division of this value by x.

  14. abstract def %(x: Byte): Float

    Permalink

    Returns the remainder of the division of this value by x.

  15. abstract def *(x: Double): Double

    Permalink

    Returns the product of this value and x.

  16. abstract def *(x: Float): Float

    Permalink

    Returns the product of this value and x.

  17. abstract def *(x: Long): Float

    Permalink

    Returns the product of this value and x.

  18. abstract def *(x: Int): Float

    Permalink

    Returns the product of this value and x.

  19. abstract def *(x: Char): Float

    Permalink

    Returns the product of this value and x.

  20. abstract def *(x: Short): Float

    Permalink

    Returns the product of this value and x.

  21. abstract def *(x: Byte): Float

    Permalink

    Returns the product of this value and x.

  22. abstract def +(x: Double): Double

    Permalink

    Returns the sum of this value and x.

  23. abstract def +(x: Float): Float

    Permalink

    Returns the sum of this value and x.

  24. abstract def +(x: Long): Float

    Permalink

    Returns the sum of this value and x.

  25. abstract def +(x: Int): Float

    Permalink

    Returns the sum of this value and x.

  26. abstract def +(x: Char): Float

    Permalink

    Returns the sum of this value and x.

  27. abstract def +(x: Short): Float

    Permalink

    Returns the sum of this value and x.

  28. abstract def +(x: Byte): Float

    Permalink

    Returns the sum of this value and x.

  29. abstract def +(x: String): String

    Permalink
  30. abstract def -(x: Double): Double

    Permalink

    Returns the difference of this value and x.

  31. abstract def -(x: Float): Float

    Permalink

    Returns the difference of this value and x.

  32. abstract def -(x: Long): Float

    Permalink

    Returns the difference of this value and x.

  33. abstract def -(x: Int): Float

    Permalink

    Returns the difference of this value and x.

  34. abstract def -(x: Char): Float

    Permalink

    Returns the difference of this value and x.

  35. abstract def -(x: Short): Float

    Permalink

    Returns the difference of this value and x.

  36. abstract def -(x: Byte): Float

    Permalink

    Returns the difference of this value and x.

  37. abstract def /(x: Double): Double

    Permalink

    Returns the quotient of this value and x.

  38. abstract def /(x: Float): Float

    Permalink

    Returns the quotient of this value and x.

  39. abstract def /(x: Long): Float

    Permalink

    Returns the quotient of this value and x.

  40. abstract def /(x: Int): Float

    Permalink

    Returns the quotient of this value and x.

  41. abstract def /(x: Char): Float

    Permalink

    Returns the quotient of this value and x.

  42. abstract def /(x: Short): Float

    Permalink

    Returns the quotient of this value and x.

  43. abstract def /(x: Byte): Float

    Permalink

    Returns the quotient of this value and x.

  44. abstract def <(x: Double): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

  45. abstract def <(x: Float): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

  46. abstract def <(x: Long): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

  47. abstract def <(x: Int): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

  48. abstract def <(x: Char): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

  49. abstract def <(x: Short): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

  50. abstract def <(x: Byte): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

  51. abstract def <=(x: Double): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

  52. abstract def <=(x: Float): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

  53. abstract def <=(x: Long): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

  54. abstract def <=(x: Int): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

  55. abstract def <=(x: Char): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

  56. abstract def <=(x: Short): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

  57. abstract def <=(x: Byte): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

  58. abstract def ==(x: Double): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

  59. abstract def ==(x: Float): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

  60. abstract def ==(x: Long): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

  61. abstract def ==(x: Int): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

  62. abstract def ==(x: Char): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

  63. abstract def ==(x: Short): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

  64. abstract def ==(x: Byte): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

  65. abstract def >(x: Double): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

  66. abstract def >(x: Float): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

  67. abstract def >(x: Long): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

  68. abstract def >(x: Int): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

  69. abstract def >(x: Char): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

  70. abstract def >(x: Short): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

  71. abstract def >(x: Byte): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

  72. abstract def >=(x: Double): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

  73. abstract def >=(x: Float): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

  74. abstract def >=(x: Long): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

  75. abstract def >=(x: Int): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

  76. abstract def >=(x: Char): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

  77. abstract def >=(x: Short): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

  78. abstract def >=(x: Byte): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

  79. abstract def toByte: Byte

    Permalink
  80. abstract def toChar: Char

    Permalink
  81. abstract def toDouble: Double

    Permalink
  82. abstract def toFloat: Float

    Permalink
  83. abstract def toInt: Int

    Permalink
  84. abstract def toLong: Long

    Permalink
  85. abstract def toShort: Short

    Permalink
  86. abstract def unary_+: Float

    Permalink

    Returns this value, unmodified.

  87. abstract def unary_-: Float

    Permalink

    Returns the negation of this value.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

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

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

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    Any
  6. def getClass(): Class[Float]

    Permalink
    Definition Classes
    FloatAnyVal → Any
  7. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped