Packages

object MathUtils

Helper functions for arithmetic operations with overflow.

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addExact(a: Long, b: Long, errorContext: String): Long
  5. def addExact(a: Long, b: Long): Long
  6. def addExact(a: Int, b: Int, errorContext: String): Int
  7. def addExact(a: Int, b: Int): Int
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def floorDiv(a: Long, b: Long): Long
  13. def floorDiv(a: Int, b: Int): Int
  14. def floorMod(a: Long, b: Long): Long
  15. def floorMod(a: Int, b: Int): Int
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def multiplyExact(a: Long, b: Long, errorContext: String): Long
  20. def multiplyExact(a: Long, b: Long): Long
  21. def multiplyExact(a: Int, b: Int, errorContext: String): Int
  22. def multiplyExact(a: Int, b: Int): Int
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def negateExact(a: Long): Long
  25. def negateExact(a: Int): Int
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def subtractExact(a: Long, b: Long, errorContext: String): Long
  29. def subtractExact(a: Long, b: Long): Long
  30. def subtractExact(a: Int, b: Int, errorContext: String): Int
  31. def subtractExact(a: Int, b: Int): Int
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toIntExact(a: Long): Int
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped