| Package | Description |
|---|---|
| tech.units.indriya.internal.function |
| Modifier and Type | Method and Description |
|---|---|
Calculator |
Calculator.abs()
Calculates the absolute value of this
Calculator´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.add(Number number)
Adds
number to this Calculator´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.divide(Number number)
Divides this
Calculator´s accumulator by number,
then stores the result in the accumulator. |
Calculator |
Calculator.exp()
Calculates Euler's constant taken to the power of this
Calculator´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.log()
Calculates the natural logarithm of this
Calculator´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.multiply(Number number)
Multiplies
number with this Calculator´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.negate()
Calculates the additive inverse value of this
Calculator´s accumulator,
then stores the result in the accumulator. |
static Calculator |
Calculator.of(Number number)
Shortcut for
getDefault().load(number). |
Calculator |
Calculator.power(int exponent)
Takes this
Calculator´s accumulator to the integer power of exponent,
then stores the result in the accumulator. |
Calculator |
Calculator.reciprocal()
Calculates the multiplicative inverse value of this
Calculator´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.subtract(Number number)
Subtracts
number from this Calculator´s accumulator,
then stores the result in the accumulator. |
Copyright © 2005–2022 Units of Measurement project. All rights reserved.