Here you can find the source of cosf(float f)
Parameter | Description |
---|---|
angle | a parameter |
public static float cosf(float f)
//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); } }