object MathUtils
Helper functions for arithmetic operations with overflow.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MathUtils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addExact(a: Long, b: Long, context: SQLQueryContext): Long
- def addExact(a: Long, b: Long): Long
- def addExact(a: Int, b: Int, context: SQLQueryContext): Int
- def addExact(a: Int, b: Int): Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def floorDiv(a: Long, b: Long): Long
- def floorDiv(a: Int, b: Int): Int
- def floorMod(a: Long, b: Long): Long
- def floorMod(a: Int, b: Int): Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def multiplyExact(a: Long, b: Long, context: SQLQueryContext): Long
- def multiplyExact(a: Long, b: Long): Long
- def multiplyExact(a: Int, b: Int, context: SQLQueryContext): Int
- def multiplyExact(a: Int, b: Int): Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negateExact(a: Long): Long
- def negateExact(a: Int): Int
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def subtractExact(a: Long, b: Long, context: SQLQueryContext): Long
- def subtractExact(a: Long, b: Long): Long
- def subtractExact(a: Int, b: Int, context: SQLQueryContext): Int
- def subtractExact(a: Int, b: Int): Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toIntExact(a: Long): Int
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withOverflow[A](f: ⇒ A, hint: String = "", context: SQLQueryContext = null): A
- def withOverflowCode(evalCode: String, context: String): String