FastLED 3.10.8
Loading...
Searching...
No Matches

◆ tan_impl_float()

float fl::tan_impl_float ( float value)

Definition at line 670 of file math.cpp.hpp.

670 {
671#if FL_MATH_USE_LIBM
672 return ::tanf(value);
673#else
674 const float c = detail::cos_reduce_<float>(value);
675 if (c == 0.0f) return 0.0f;
677#endif
678}
F sin_reduce_(F x) FL_NO_EXCEPT
Definition math.cpp.hpp:266
F cos_reduce_(F x) FL_NO_EXCEPT
Definition math.cpp.hpp:284
constexpr int type_rank< T >::value

References fl::detail::cos_reduce_(), FL_NO_EXCEPT, fl::detail::sin_reduce_(), and type_rank< T >::value.

Referenced by tan(), and tanf().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: