| 200 | |
| 201 | template <typename F> |
| 202 | inline F cos_reduce_(F x) FL_NOEXCEPT { |
| 203 | // cos(x) = sin(π/2 - x) |
| 204 | const F kPiHalf = F(1.57079632679489661923); |
| 205 | return sin_reduce_(kPiHalf - x); |
| 206 | } |
| 207 | |
| 208 | // --- log via fraction extraction + polynomial ----------------------------- |
| 209 | // |
nothing calls this directly
no test coverage detected