Java examples for java.lang:Math Operation

Click the following links for the tutorial for java.lang and Math Operation.

- Modular arithmetic for double value: m mod n
- Check if two doubles are equal to machine precision.
- Perform fuzzy comparison of two doubles with specified tolerance.
- Get log of a double + 1.
- Get log base 2 of a double.
- Get log base 10 of a double.
- Return natural log of a double.
- Compute hyperbolic sine of a double.
- Return the hyperbolic tangent of a double.
- Efficiently returns the binomial coefficient, often also referred to as "n over k" or "n choose k".
- Get exp( x ) - 1.
- Safely calculate hypotenuse value.
- calculate Standard Deviation
- Compute e^x to a given scale.
- Compute e^x to a given scale by the Taylor series.
- Compute x^exponent to a given scale.
- Compute the integral root of x to a given scale, x >= 0.
- Compute the natural logarithm of x to a given scale, x > 0.
- calculates x^exponent, that is, raise x to the poser of exponent.
- Compute the square root of x to a given scale, x >= 0.
- returns a nominal percentage (like 5.2%) as a fraction (0.052).
- Compute the multi-exponent base^exponent (modulo modulus) .
- Given a endpoints and control points, compute the coefficients to trace out the curve as p(t) = c[0] + c[1]*t + c[2]*t^2 + c[3]*t^3
- Checks if x is a power-of-two number.
- array Converged
- rounds double value upper half
- rounds to next int
- Return the minimum of three values.
- Calculates the greatest common divisor of an array using Euclid's method.
- divide With Math Rounding Mode And Scale
- divide With Rounding Mode