Here you can find the source of acos(double d)
Math.acos()
.
Parameter | Description |
---|---|
d | A double value to determine the acos for. |
d
public static double acos(double d)
//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); } }