Java sin sinf(float f)

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

Description

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

License

Open Source License

Parameter

Parameter Description
angle a parameter

Declaration

public static float sinf(float f) 

Method Source Code

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

public class Main {
    /**//  w  w  w.  j  av a 2s. c  om
     * Uses Math.sin, but returns the result as a float.
     * @param angle
     * @returns the sinus of angle 
     */
    public static float sinf(float f) {

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

Related

  1. sin_core(double x)
  2. sin_v2(double x)
  3. sind(double degreeAngle)
  4. sinDeg(double degrees)
  5. sinDegrees(double angleInDegrees)
  6. sinf(float n)