Expand description
Rounded mathematical operations.
Implementations of these traits operate on Real
types,
rounding the result according to a given RoundingContext
.
Traits§
- Rounded
|x|
for rounding contexts. - Rounded
arccos(x)
for rounding contexts. - Rounded
arcosh(x)
for rounding contexts. - Rounded
x + y
for rounding contexts. - Rounded
arcsin(x)
for rounding contexts. - Rounded
arsinh(x)
for rounding contexts. - Rounded
arctan(x)
for rounding contexts. - Rounded
arctan(y / x)
for rounding contexts. - Rounded
artanh(x)
for rounding contexts. - Rounded
cbrt(x)
for rounding contexts. - Rounded
cos(x)
for rounding contexts. - Rounded
cos(pi * x)
for rounding contexts. - Rounded
cosh(x)
for rounding contexts. - Rounded
x / y
for rounding contexts. - Rounded
erf(x)
for rounding contexts. - Rounded
erfc(x)
for rounding contexts. - Rounded
exp(x)
for rounding contexts. - Rounded
2^x
for rounding contexts. - Rounded
2^x - 1
for rounding contexts. - Rounded
10^x - 1
for rounding contexts. - Rounded
e^x - 1
for rounding contexts. - Rounded
a*b + c
for rounding contexts. - Rounded
fmod(x, y)
for rounding contexts. - Rounded
tgamma(x)
for rounding contexts. - Rounded
sqrt(x^2 + y^2)
for rounding contexts. - Rounded
lgamma(x)
for rounding contexts. - Rounded
ln(x)
for rounding contexts. - Rounded
log(x + 1)
for rounding contexts. - Rounded
log2(x)
for rounding contexts. - Rounded
log2(x + 1)
for rounding contexts. - Rounded
log10(x)
for rounding contexts. - Rounded
log10(x + 1)
for rounding contexts. - Rounded
x * y
for rounding contexts. - Rounded
-x
for rounding contexts. - Rounded
x ^ y
for rounding contexts. - Rounded
1/x
for rounding contexts. - Rounded
1/sqrt(x)
for rounding contexts. - Rounded
remainder(x, y)
for rounding contexts. - Rounded
sin(x)
for rounding contexts. - Rounded
sin(pi * x)
for rounding contexts. - Rounded
sinh(x)
for rounding contexts. - Rounded
sqrt(x)
for rounding contexts. - Rounded
x - y
for rounding contexts. - Rounded
tan(x)
for rounding contexts. - Rounded
tan(pi * x)
for rounding contexts. - Rounded
tanh(x)
for rounding contexts.
Functions§
- Computes
|x|
and rounds according to theRoundingContext
ctx. - Computes
arccos(x)
and rounds according to theRoundingContext
ctx. - Computes
arcosh(x)
and rounds according to theRoundingContext
ctx. - Computes
x + y
and rounds according to theRoundingContext
ctx. - Computes
arcsin(x)
and rounds according to theRoundingContext
ctx. - Computes
arsinh(x)
and rounds according to theRoundingContext
ctx. - Computes
arctan(x)
and rounds according to theRoundingContext
ctx. - Computes
arctan(y / x)
and rounds according to theRoundingContext
ctx. - Computes
artanh(x)
and rounds according to theRoundingContext
ctx. - Computes
cbrt(x)
and rounds according to theRoundingContext
ctx. - Computes
cos(x)
and rounds according to theRoundingContext
ctx. - Computes
cos(pi * x)
and rounds according to theRoundingContext
ctx. - Computes
cosh(x)
and rounds according to theRoundingContext
ctx. - Computes
x / y
and rounds according to theRoundingContext
ctx. - Computes
erf(x)
and rounds according to theRoundingContext
ctx. - Computes
erfc(x)
and rounds according to theRoundingContext
ctx. - Computes
exp(x)
and rounds according to theRoundingContext
ctx. - Computes
2^x
and rounds according to theRoundingContext
ctx. - Computes
2^x - 1
and rounds according to theRoundingContext
ctx. - Computes
10^x - 1
and rounds according to theRoundingContext
ctx. - Computes
e^x - 1
and rounds according to theRoundingContext
ctx. - Computes
a*b + c
and rounds according to theRoundingContext
ctx. - Computes
fmod(x, y)
and rounds according to theRoundingContext
ctx. - Computes
sqrt(x^2 + y^2)
and rounds according to theRoundingContext
ctx. - Computes
lgamma(x)
and rounds according to theRoundingContext
ctx. - Computes
ln(x)
and rounds according to theRoundingContext
ctx. - Computes
log(x + 1)
and rounds according to theRoundingContext
ctx. - Computes
log2(x)
and rounds according to theRoundingContext
ctx. - Computes
log2(x + 1)
and rounds according to theRoundingContext
ctx. - Computes
log10(x)
and rounds according to theRoundingContext
ctx. - Computes
log10(x + 1)
and rounds according to theRoundingContext
ctx. - Computes
x * y
and rounds according to theRoundingContext
ctx. - Computes
-x
and rounds according to theRoundingContext
ctx. - Computes
x ^ y
and rounds according to theRoundingContext
ctx. - Computes
1/x
and rounds according to theRoundingContext
ctx. - Computes
1/sqrt(x)
and rounds according to theRoundingContext
ctx. - Computes
remainder(x, y)
and rounds according to theRoundingContext
ctx. - Computes
sin(x)
and rounds according to theRoundingContext
ctx. - Computes
sin(pi * x)
and rounds according to theRoundingContext
ctx. - Computes
sinh(x)
and rounds according to theRoundingContext
ctx. - Computes
sqrt(x)
and rounds according to theRoundingContext
ctx. - Computes
x - y
and rounds according to theRoundingContext
ctx. - Computes
tan(x)
and rounds according to theRoundingContext
ctx. - Computes
tan(pi * x)
and rounds according to theRoundingContext
ctx. - Computes
tanh(x)
and rounds according to theRoundingContext
ctx. - Computes
tgamma(x)
and rounds according to theRoundingContext
ctx.