Java tan tanf(float f)

Here you can find the source of tanf(float f)

Description

Uses Math.tan, but returns the result as a float.

License

Open Source License

Parameter

Parameter Description
angle a parameter

Declaration

public static float tanf(float f) 

Method Source Code

//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);
    }
}

Related

  1. tan(int f)
  2. tan(Number x)
  3. tan(Short a)
  4. tanD(double arg)
  5. tand(double x)
  6. tanh(double x)
  7. tanh(double x)