Companion

object Companion

Functions

Link copied to clipboard
fun fromIEEE754BIDEncoding(high: ULong, low: ULong): BsonDecimal128

Create an instance with the given high and low order bits representing this BsonDecimal128 as an IEEE 754-2008 128-bit decimal floating point using the BID encoding scheme.

Link copied to clipboard
operator fun invoke(value: String): BsonDecimal128

Returns a BsonDecimal128 value representing the given String.

Properties

Link copied to clipboard
val NaN: BsonDecimal128

A constant holding a Not-a-Number (NaN) value of type BsonDecimal128. It is equal to the value return by BsonDecimal128("NaN").

Link copied to clipboard
val NEGATIVE_INFINITY: BsonDecimal128

A constant holding the negative infinity of type BsonDecimal128. It is equal to the value return by BsonDecimal128("-Infinity").

Link copied to clipboard
val NEGATIVE_NaN: BsonDecimal128

A constant holding a negative Not-a-Number (-NaN) value of type BsonDecimal128. It is equal to the value return by BsonDecimal128("-NaN").

Link copied to clipboard
val NEGATIVE_ZERO: BsonDecimal128

A constant holding a negative zero value of type BsonDecimal128. It is equal to the value return by BsonDecimal128("-0").

Link copied to clipboard
val POSITIVE_INFINITY: BsonDecimal128

A constant holding the positive infinity of type BsonDecimal128. It is equal to the value return by BsonDecimal128("Infinity").

Link copied to clipboard
val POSITIVE_ZERO: BsonDecimal128

A constant holding a positive zero value of type BsonDecimal128. It is equal to the value return by BsonDecimal128("0").