Here you can find the source of acos(Number x)
public static double acos(Number x)
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); public class Main { public static double acos(Number x) { return Math.acos(x.doubleValue()); }//from w ww .ja v a2 s. c om }