Scala Standard Library 2.12.18 - scala.math (original) (raw)

package math

Ordering

  1. Grouped

  2. Alphabetic

  3. By Inheritance

  4. Hide All

  5. Show All

Type Members

  1. final class BigDecimal extends ScalaNumber with ScalaNumericConversions with Serializable with Ordered[BigDecimal]
  2. final class BigInt extends ScalaNumber with ScalaNumericConversions with Serializable with Ordered[BigInt]
  3. trait Equiv[T] extends Serializable
  4. trait Fractional[T] extends Numeric[T]
  5. trait Integral[T] extends Numeric[T]
  6. trait LowPriorityEquiv extends AnyRef
  7. trait LowPriorityOrderingImplicits extends AnyRef
  8. trait Numeric[T] extends Ordering[T]
  9. trait Ordered[A] extends Comparable[A]
  10. trait Ordering[T] extends Comparator[T] with PartialOrdering[T] with Serializable
  11. trait PartialOrdering[T] extends Equiv[T]
  12. trait PartiallyOrdered[+A] extends AnyRef
  13. trait ScalaNumericAnyConversions extends Any
  14. trait ScalaNumericConversions extends ScalaNumber with ScalaNumericAnyConversions

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 asin(x: Double): Double
  10. def atan(x: Double): Double
  11. def atan2(y: Double, x: Double): Double
  12. def cbrt(x: Double): Double
  13. def ceil(x: Double): Double
  14. def cos(x: Double): Double
  15. def cosh(x: Double): Double
  16. def exp(x: Double): Double
  17. def expm1(x: Double): Double
  18. def floor(x: Double): Double
  19. def hypot(x: Double, y: Double): Double
  20. def log(x: Double): Double
  21. def log10(x: Double): Double
  22. def log1p(x: Double): Double
  23. def max(x: Double, y: Double): Double
  24. def max(x: Float, y: Float): Float
  25. def max(x: Long, y: Long): Long
  26. def max(x: Int, y: Int): Int
  27. def min(x: Double, y: Double): Double
  28. def min(x: Float, y: Float): Float
  29. def min(x: Long, y: Long): Long
  30. def min(x: Int, y: Int): Int
  31. def pow(x: Double, y: Double): Double
  32. def random(): Double
  33. def rint(x: Double): Double
  34. def round(x: Double): Long
  35. def round(x: Float): Int
  36. def signum(x: Double): Double
  37. def signum(x: Float): Float
  38. def signum(x: Long): Long
  39. def signum(x: Int): Int
  40. def sin(x: Double): Double
  41. def sinh(x: Double): Double
  42. def sqrt(x: Double): Double
  43. def tan(x: Double): Double
  44. def tanh(x: Double): Double
  45. def toDegrees(x: Double): Double
  46. def toRadians(x: Double): Double
  47. def ulp(x: Float): Float
  48. def ulp(x: Double): Double
  49. object BigDecimal extends Serializable
  50. object BigInt extends Serializable
  51. object Equiv extends LowPriorityEquiv with Serializable
  52. object Fractional extends Serializable
  53. object Integral extends Serializable
  54. object Numeric extends Serializable
  55. object Ordered
  56. object Ordering extends LowPriorityOrderingImplicits with Serializable

Deprecated Value Members

  1. def round(x: Long): Long

Mathematical Constants

Minimum and Maximum

Rounding

Exponential and Logarithmic

Trigonometric

Angular Measurement Conversion

Hyperbolic

Absolute Values

Signs

Root Extraction

Polar Coordinates

Unit of Least Precision

Pseudo Random Number Generation

Ungrouped