Name | Signature and Synopsis |
---|---|
absDouble | double absDouble (double a) Returns the absolute value of a double value. |
absInt | int absInt (int a) Returns the absolute value of an int value. |
absLong | long absLong (long a) Returns the absolute value of a long value. |
acos | double acos (double a) Returns the arc cosine of an angle. |
asin | double asin (double a) Returns the arc sine of an angle. |
atan | double atan (double a) Returns the arc tangent of an angle. |
atanRectangularToPolar | double atanRectangularToPolar (double y, double x) Converts rectangular coordinates (x, y) to polar (r, theta). |
ceil | double ceil (double a) Returns the smallest double value that is greater
than or equal to the argument and is equal to an integer. |
cos | double cos (double a) Returns the trigonometric cosine of an angle. |
exp | double exp (double a) Returns Euler's number e raised to the power of a double value. |
floor | double floor (double a) Returns the largest double value that is less
than or equal to the argument and is equal to an integer. |
IEEEremainder | double IEEEremainder (double f1, double f2) Computes the remainder operation on two arguments as prescribed by the IEEE 754 standard. |
log | double log (double a) Returns the natural logarithm (base e) of a double value. |
maxDouble | double maxDouble (double a, double b) Returns the greater of two double values. |
maxInt | int maxInt (int a, int b) Returns the greater of two int values. |
maxLong | long maxLong (long a, long b) Returns the greater of two long values. |
minDouble | double minDouble (double a, double b) Returns the smaller of two double values. |
minInt | int minInt (int a, int b) Returns the smaller of two int values. |
minLong | long minLong (long a, long b) Returns the smaller of two long values. |
pow | double pow (double a, double b) Returns the value of the first argument raised to the power of the second argument. |
random | double random () Returns a random double value between 0.0 and 1.0 . |
rint | double rint (double a) Returns the double value that is closest in value
to the argument and is equal to an integer. |
round | long round (double a) Returns the closest long to the argument. |
roundFraction | double roundFraction (double d1, int precision) Returns a number rounded to integer places right of the decimal point. |
sin | double sin (double a) Returns the trigonometric sine of an angle. |
sqrt | double sqrt (double a) Returns the correctly rounded positive square root of a double value. |
tan | double tan (double a) Returns the trigonometric tangent of an angle. |
toDegrees | double toDegrees (double angrad) Converts an angle measured in radians to an angle measured in degrees. |
toRadians | double toRadians (double angdeg) Converts an angle measured in degrees to an angle measured in radians. |