Skip to content

Commit 99b6fe4

Browse files
committed
Readying.
1 parent a26598b commit 99b6fe4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

numerics/angle_reduction.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ constexpr Angle one_π;
3131
template<typename Angle>
3232
constexpr Angle two_π;
3333

34-
//TODO(phl)comment
34+
// Performs Payne-Hanek reduction of `x`. `x_reduced` is in [-π / 4, π / 4],
35+
// and the `quadrant` ranges from 0 to 3. 0 is a quadrant centered on the
36+
// positive x axis, 1 on the positive y axis, and so on.
3537
template<std::int64_t precision>
3638
void PayneHanek(Angle const& x,
3739
DoublePrecision<Angle>& x_reduced,

0 commit comments

Comments
 (0)