
sin, sinf, sinl - cppreference.com
Apr 3, 2023 · Otherwise, if the argument has integer type or the type double, (2) (sin) is called. Otherwise, (1) (sinf) is called. If the argument is complex, then the macro invokes the corresponding …
sin, sinf, sinl | Microsoft Learn
Jul 9, 2025 · API reference for sin, sinf, and sinl; which calculate the sine of a floating-point value.
math - sin v/s sinf function in C - Stack Overflow
Jan 10, 2017 · sinf() was added to C in C99, which Microsoft Visual C++ does not fully support (even so, Visual C++ 6 was released before C99 was standardized). You can use the sin() function, which …
sin (), sinf (), sinl () — Calculate sine - IBM
Calculates the sine of x, with x expressed in radians. Note: These functions work in both IEEE Binary Floating-Point and hexadecimal floating-point formats. See IEEE binary floating-point for more …
sin, sinf, sinl - C++ - API Reference Document
Otherwise, sinf is called. If the argument is complex, then the macro invokes the corresponding complex function (csinf, csin, csinl). If no errors occur, the sine of arg (sin (arg)) in the range [-1 ; +1], is …
sinf (3): sine function - Linux man page
The sin () function returns the sine of x, where x is given in radians. On success, these functions return the sine of x. If x is a NaN, a NaN is returned. If x is positive infinity or negative infinity, a domain …
sin (), sinf (), sinl () - QNX
Aug 11, 2025 · These functions compute the sine of x radians. An argument with a large magnitude may yield a result with little or no significance. To check for error situations, use feclearexcept () and …
sinf - Math.h - C - C++ Computing Reference with Worked Examples
Dec 18, 2011 · sin ( ±0 ) returns ±0. sin ( ±∞ ) returns a NaN and raises the invalid floating-point exception. The sin function conforms to ISO/IEC 9899:1999 (E).
Trig Functions (The GNU C Library)
These are the familiar sin, cos, and tan functions. The arguments to all of these functions are in units of radians; recall that pi radians equals 180 degrees. The math library normally defines M_PI to a …
sin - pubs.opengroup.org
These functions shall compute the sine of their argument x, measured in radians. An application wishing to check for error situations should set errno to zero and call feclearexcept (FE_ALL_EXCEPT) …