Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class BigIntegerRange(val start: BigInteger, val endInclusive: BigInteger) : ClosedRange<BigInteger> , Iterable<BigInteger>
Link copied to clipboard
Link copied to clipboard
data class MathContext(val precision: Int = 9, val roundingMode: RoundingMode = RoundingMode.HALF_UP)

Immutable objects which encapsulate the context settings which describe certain rules for numerical operators, such as those implemented by the BigDecimal class.

Link copied to clipboard

Specifies a rounding behavior for numerical operations capable of discarding precision. Each rounding mode indicates how the least significant returned digit of a rounded result is to be calculated. If fewer digits are returned than the digits needed to represent the exact numerical result, the discarded digits will be referred to as the discarded fraction regardless the digits' contribution to the value of the number. In other words, considered as a numerical value, the discarded fraction could have an absolute value greater than one.

Properties

Link copied to clipboard
const val DEBUG: Boolean = false

Functions

Link copied to clipboard
fun bigDecimal(x: dynamic): BigDecimal
Link copied to clipboard
fun bigInteger(x: dynamic): BigInteger
Link copied to clipboard
Link copied to clipboard
expect inline fun <R> lock(any: Any, action: () -> R): R
actual inline fun <R> lock(any: Any, action: () -> R): R
actual inline fun <R> lock(any: Any, action: () -> R): R