The class CL_ABAP_MATH can be used for general mathematical operations such as specific decimal rounding.
The class CL_ABAP_RANDOM calls the pseudo random number generator "Mersenne Twister" for different numeric types.
For the one-dimensional case, the following special classes generate random numbers for the different numeric types: