Java cos cosf(float f)

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

Description

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

License

Open Source License

Parameter

Parameter Description
angle a parameter

Declaration

public static float cosf(float f) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**/*  ww w .ja v a 2s  .com*/
     * Uses Math.cos, but returns the result as a float.
     * @param angle
     * @returns the cosinus of angle 
     */
    public static float cosf(float f) {

        return (float) Math.cos(f);
    }
}

Related

  1. cos(Integer a)
  2. cos(Long a)
  3. cosd(double degreeAngle)
  4. cosd(double x)
  5. cosDeg(double degrees)
  6. cosf(float value)
  7. cosineCoefficient(double[] hist1, double[] hist2)
  8. cosineInterpolate(float y1, float y2, float mu)
  9. cosineTheorem(double d12, double d23, double theta123)