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