[course07]03 Math Class
[course07]03 Math Class
//Returns the absolute value of integer x.
static int abs(int x)
//Returns the absolute value of real number x.
static double abs(double x)
static double pow(double base, double exp)
static double sqrt(double x)
// Returns a random number r, where 0.0 ≤ r < 1.0.
static double random()
Last updated
Was this helpful?