The java.lang.Math class
This class provides standard mathematical functions, using types int, long, float and double.
It is a static class, meaning that you only use the methods and never create "Math objects".
The methods include
- IEEEremainder, abs, ceil, cos, exp, floor, log, max, min, pow, random, sin, sqrt, and other trig functions.
- The random number generator is a linear congruential generator, which is fast but not random enough for many scientific applications.