Skip to content

Function fastsindeg

function fastsindeg(const T1 &) math

template <numeric T1>
KFR_FUNCTION flt_type<T1> fastsindeg(const T1& x)

Returns a fast (lower-precision) approximation of the trigonometric sine of the angle expressed in degrees.

Template parameters
T1 Scalar or vector type. Integer arguments are promoted to a floating-point type.
Parameters
x Angle in degrees.
Returns
Approximate sine of x, in the same floating-point type as x (or its element type for vectors).

Fully qualified name: kfr::fastsindeg(const T1 &)

Declared at math/sin_cos.hpp:157

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.