Here you can find the source of tanf(float f)
Parameter | Description |
---|---|
angle | a parameter |
public static float tanf(float f)
//package com.java2s; //License from project: Open Source License public class Main { /**// ww w. j av a2 s . co m * Uses Math.tan, but returns the result as a float. * @param angle * @returns the tangent of angle */ public static float tanf(float f) { return (float) Math.tan(f); } }