sinf


Sine

[Classification]

Mathematical library

[Syntax]

#include <mathf.h>

float sinf(float x);

[Return value]

Returns the sine of x.

If inputting +, sinf returns a Not a Nuber(NaN) and sets macro EDOM to global variable errno.

If the solution is a denormal number, sinf sets macro ERANGE to global variable errno.

[Description]

This function calculates the sine of x. Specify the angle in radian.