Packages

package math

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. math
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract class ScalaNumber extends Number

Value Members

  1. final val E: Double(2.718281828459045)
  2. def IEEEremainder(x: Double, y: Double): Double
  3. final val Pi: Double(3.141592653589793)
  4. def abs(x: Double): Double
  5. def abs(x: Float): Float
  6. def abs(x: Long): Long
  7. def abs(x: Int): Int
  8. def acos(x: Double): Double
  9. def addExact(x: Long, y: Long): Long
  10. def addExact(x: Int, y: Int): Int
  11. def asin(x: Double): Double
  12. def atan(x: Double): Double
  13. def atan2(y: Double, x: Double): Double
  14. def cbrt(x: Double): Double
  15. def ceil(x: Double): Double
  16. def copySign(magnitude: Float, sign: Float): Float
  17. def copySign(magnitude: Double, sign: Double): Double
  18. def cos(x: Double): Double
  19. def cosh(x: Double): Double
  20. def decrementExact(x: Long): Long
  21. def decrementExact(x: Int): Int
  22. def exp(x: Double): Double
  23. def expm1(x: Double): Double
  24. def floor(x: Double): Double
  25. def floorDiv(x: Long, y: Long): Long
  26. def floorDiv(x: Int, y: Int): Int
  27. def floorMod(x: Long, y: Long): Long
  28. def floorMod(x: Int, y: Int): Int
  29. def getExponent(d: Double): Int
  30. def getExponent(f: Float): Int
  31. def hypot(x: Double, y: Double): Double
  32. def incrementExact(x: Long): Long
  33. def incrementExact(x: Int): Int
  34. def log(x: Double): Double
  35. def log10(x: Double): Double
  36. def log1p(x: Double): Double
  37. def max(x: Double, y: Double): Double
  38. def max(x: Float, y: Float): Float
  39. def max(x: Long, y: Long): Long
  40. def max(x: Int, y: Int): Int
  41. def min(x: Double, y: Double): Double
  42. def min(x: Float, y: Float): Float
  43. def min(x: Long, y: Long): Long
  44. def min(x: Int, y: Int): Int
  45. def multiplyExact(x: Long, y: Long): Long
  46. def multiplyExact(x: Int, y: Int): Int
  47. def negateExact(x: Long): Long
  48. def negateExact(x: Int): Int
  49. def nextAfter(start: Float, direction: Double): Float
  50. def nextAfter(start: Double, direction: Double): Double
  51. def nextDown(f: Float): Float
  52. def nextDown(d: Double): Double
  53. def nextUp(f: Float): Float
  54. def nextUp(d: Double): Double
  55. def pow(x: Double, y: Double): Double
  56. def random(): Double
  57. def rint(x: Double): Double
  58. def round(x: Double): Long
  59. def round(x: Float): Int
  60. def scalb(f: Float, scaleFactor: Int): Float
  61. def scalb(d: Double, scaleFactor: Int): Double
  62. def signum(x: Double): Double
  63. def signum(x: Float): Float
  64. def signum(x: Long): Long
  65. def signum(x: Int): Int
  66. def sin(x: Double): Double
  67. def sinh(x: Double): Double
  68. def sqrt(x: Double): Double
  69. def subtractExact(x: Long, y: Long): Long
  70. def subtractExact(x: Int, y: Int): Int
  71. def tan(x: Double): Double
  72. def tanh(x: Double): Double
  73. def toDegrees(x: Double): Double
  74. def toIntExact(x: Long): Int
  75. def toRadians(x: Double): Double
  76. def ulp(x: Float): Float
  77. def ulp(x: Double): Double

Deprecated Value Members

  1. def round(x: Long): Long
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) This is an integer type; there is no reason to round it. Perhaps you meant to call this with a floating-point value?

Inherited from AnyRef

Inherited from Any

Ungrouped