FastLED 3.9.15
Loading...
Searching...
No Matches

◆ tan_impl_float()

float fl::tan_impl_float ( float value)

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

588 {
589#if FL_MATH_USE_LIBM
590 return ::tanf(value);
591#else
592 const float c = detail::cos_reduce_<float>(value);
593 if (c == 0.0f) return 0.0f;
595#endif
596}
F sin_reduce_(F x) FL_NOEXCEPT
Definition math.cpp.hpp:184
F cos_reduce_(F x) FL_NOEXCEPT
Definition math.cpp.hpp:202
constexpr int type_rank< T >::value

References fl::detail::cos_reduce_(), 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: