Java acos acos(double d)

Here you can find the source of acos(double d)

Description

Wrapper implementation of Math.acos().

License

LGPL

Parameter

Parameter Description
d A double value to determine the acos for.

Return

The acos for d

Declaration

public static double acos(double d) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    /**//from www . j a  va  2s  . c  om
     * Wrapper implementation of <code>Math.acos()</code>. Inside the framework
     * only this method must be used to ensure the availability on all platforms.
     * JavaME i.e. does not provide an acos function in its <code>Math</code> class.
     *
     * @param d A double value to determine the acos for.
     * @return The acos for <code>d</code>
     */
    public static double acos(double d) {
        return Math.acos(d);
    }
}

Related

  1. acos(double a)
  2. acos(double a)
  3. acos(double x)
  4. acos(double x)
  5. acos(final float a)
  6. acos(float value)