Java Utililty Methods acos

List of utility methods to do acos

Description

The list of methods to do acos are organized into topic(s).

Method

doubleacos(double a)
Returns the arc cosine of an angle, in the range of 0.0 through pi.
return Math.acos(a);
doubleacos(double a)
Returns the arc cosine of an angle, in the range of 0 through pi.
double z, p, q, r, w, s, c, df;
long hx = Double.doubleToLongBits(a);
long ix = hx & no_sign_mask;
if (Math.abs(a) >= 1) {
    if (ix == one) {
        if (hx > 0)
            return (0.0);
        else
...
doubleacos(double d)
Wrapper implementation of Math.acos().
return Math.acos(d);
doubleacos(double x)
acos
double f = asin(x);
if (f == Double.NaN)
    return f;
return Math.PI / 2 - f;
doubleacos(double x)
acos
return PI_2 - arcsin(x);
floatacos(final float a)
acos
return (float) java.lang.Math.acos(a);
floatacos(float value)
acos
return (float) Math.acos(value);
floatacos(float value)
acos
return (float) Math.acos(value);
floatacos(float value)
acos
return (float) Math.acos(value);
floatacos(float x)
Arccos
float f = asin(x);
if (Float.isNaN(f))
    return f;
return (float) Math.PI / 2 - f;