Good rotations
M. Henon, J-M. Petit
TL;DR
The paper addresses systematic drift caused by finite-precision roundoff in repeated fixed-angle rotations used in celestial mechanics. It proposes a constructive approach to choose representable sine and cosine values $(s,c)$ so that $c^2+s^2$ remains as close to unity as possible, using Diophantine and number-theoretic techniques to generate many accurate representations across single and double precision. The method substantially reduces the linear drift in radius and stabilizes energy errors in rotating-frame integrations, enabling reliable long-term simulations and improving the robustness of symplectic integrators in rotating frames. This 'good rotations' framework provides a practical tool for high-accuracy celestial mechanics computations where repeated rotations are essential.”
Abstract
Numerical integrations in celestial mechanics often involve the repeated computation of a rotation with a constant angle. A direct evaluation of these rotations yields a linear drift of the distance to the origin. This is due to roundoff in the representation of the sine s and cosine c of the angle theta. In a computer, one generally gets c^2 + s^2 <> 1, resulting in a mapping that is slightly contracting or expanding. In the present paper we present a method to find pairs of representable real numbers s and c such that c^2 + s^2 is as close to 1 as possible. We show that this results in a drastic decrease of the systematic error, making it negligible compared to the random error of other operations. We also verify that this approach gives good results in a realistic celestial mechanics integration.
