Termination of ordinary trigonometric comparisons #
At nonzero rational arguments, sine, cosine, and arctangent are irrational. Their converging rational endpoints therefore exclude every rational boundary at some finite degree. Tangent uses a linear residual: its nonvanishing follows from tangent's irrationality and the absence of tangent poles at rational inputs. Exact zero-input values are handled by the comparison runtime before refinement.
Adaptive reduced sine enclosures eventually separate every rational boundary.
Adaptive reduced cosine enclosures eventually separate every rational boundary.
Adaptive arctangent enclosures eventually separate every rational boundary.
The lower endpoints of the tangent residual converge to the exact residual.
The upper endpoints of the tangent residual converge to the exact residual.
The tangent residual comparison terminates without constructing a quotient enclosure.