# Index

 `Decimal` A decimal floating point number. T `DividedWithRemainder` `Mode` A strategy for rounding the result of an operation on two `Decimal`s. `Rounding` Holds precision and rounding information for use in decimal arithmetic. A `Whole` An arbitrary precision integer. `acos()` The arc cosine of the given number. `asin()` The arc sine of the given number. `atan()` The arc tangent of the given number. `atan2()` The angle from converting rectangular coordinates `x` and `y` to polar coordinates. `cbrt()` The cube root of the given number. T `ceiling` Round towards positive infinity. `ceiling()` The smallest value that is greater than or equal to the argument and equal to an integer. `cos()` The cosine of the given angle specified in radians. `cosh()` The hyperbolic cosine of the given angle specified in radians. `decimalNumber()` The given `number` converted to a `Decimal`. `down` Round towards zero. `e` The `Float` which best approximates the mathematical constant 𝑒, the base of the natural logarithm. `exp()` 𝑒 raised to the power of the argument. `expm1()` A more accurate computation of `exp(x)-1.0` for `x` near zero. `floor` Round towards negative infinity. `floor()` The largest value that is less than or equal to the argument and equal to an integer. `formatWhole()` The string representation of the given `whole` in the base given by `radix`. I `fromImplementation()` Converts a platform-specific implementation object to a `Whole` instance. `halfDown` Round towards the nearest neighbour, or round down if there are two nearest neighbours. `halfEven` Round towards the nearest neighbour, or round towards the even neighbour if there are two nearest neighbours. `halfEven()` The closest value to the argument that is equal to a mathematical integer, with even values preferred in the event of a… `halfUp` Round towards the nearest neighbour, or round up if there are two nearest neighbours. `hypot()` Returns the length of the hypotenuse of a right angle triangle with other sides having lengths `x` and `y`. T `implicitRounding` The rounding currently being used implicitly by the `Decimal` operators `+`, `-`, `*`, `/` and `^` (or equivalently, the methods `…` `implicitlyRounded()` Performs an arbitrary calculation with the given rounding used implicitly when arithmetic operators are applied to `…` `largest()` The larger of the two arguments. `largest()` The larger of the two arguments. `log()` The natural logarithm (base 𝑒) of the argument. `log10()` The base 10 logarithm of the argument. `log1p()` A more accurate computation of `log(1.0+x)` for `x` near zero. `max()` The largest `Float` in the given stream, or `null` if the stream is empty. `max()` The largest `Integer` in the given stream, or `null` if the stream is empty. `min()` The smallest `Float` in the given stream, or `null` if the stream is empty. `min()` The smallest `Integer` in the given stream, or `null` if the stream is empty. `one` A `Decimal` instance representing one. `one` A `Whole` instance representing one. `parseDecimal()` The `Decimal` represented by the given string, or `null` if the given string does not represent a `Decimal`. `parseWhole()` The `Whole` represented by the given string, or `null` if the given string does not represent a `Whole`. `pi` The Float which best approximates the mathematical constant π, the ratio of the circumference of a circle to its… `product()` The product of the `Float`s in the given stream, or `1.0` if the stream is empty. `product()` The product of the `Integer`s in the given stream, or `1` if the stream is empty. `random()` A number greater than or equal to positive zero and less than `1.0`, chosen pseudorandomly and (approximately) uniformly… `round()` Creates a rounding with the given precision and mode. `scalb()` The value of `x × 2ⁿ`, calculated exactly for reasonable values of `n`. `sin()` The sine of the given angle specified in radians. `sinh()` The hyperbolic sine of the given angle specified in radians. `smallest()` The smaller of the two arguments. `smallest()` The smaller of the two arguments. `sqrt()` The positive square root of the given number. T `sum()` The sum of the `Float`s in the given stream, or `0.0` if the stream is empty. `sum()` The sum of the `Integer`s in the given stream, or `0` if the stream is empty. `tan()` The tangent of the given angle specified in radians. `tanh()` The hyperbolic tangent of the given angle specified in radians. `ten` A `Decimal` instance representing ten. `toDegrees()` The given angle (in radians) converted to degrees. `toRadians()` The given angle (in degrees) converted to radians. `two` A `Whole` instance representing two. `unlimitedPrecision` Unlimited precision. `unnecessary` Asserts that rounding will not be required causing an exception to be thrown if it is. `up` Round away from zero. `wholeNumber()` The given `number` converted to a `Whole`. `zero` A `Decimal` instance representing zero. `zero` A `Whole` instance representing zero.