76464343

By: huashengshao <erdissshaw@gmail.com>

C0: keep the Float precision at small external invariants

The general C0 expression loses about 2 log2(1/rho) bits at small external
invariants (rho = sum |s_ij| / (Re m_i^2 + Re m_j^2)), up to 2.5 log2(1/rho)
with one massless propagator and two equal masses, whatever the working
precision. Binary64 and double-double take the momentum series there. Float
kept the general expression, on the assumption that its working precision
absorbs the loss. It does not: C0 with two light-like legs and a third
invariant of 3.4e-13 against squared masses near 1e4 lost 112 bits at every
precision from 128 to 1024, and TIRust's 256-bit tier served rank-3 and
rank-4 triangles on it up to 1.5e3 off (huashengshao/TIRust#65).

For 0 < rho <= 1/16 in the series' domain, the native Float C0 now takes
- the momentum series at 16 more bits, where it reaches 2^-(bits + 20)
  by order four;
- otherwise the general expression with 3 log2(1/rho) + 16 more bits.
Each runs at that precision rounded up to a multiple of 64 bits, so the value
depends on the point alone, and is rounded once to the working precision.
Higher orders of the series cost more in Float than the raised precision
(at 256 bits the series cost 9.7 times the general expression at rho =
1e-8).

Binary64, double-double and c0_small_momentum are unchanged; the series
body moves to series(), with its domain and rho in momentum_ratio().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub
Time to Start Worker time Duration Time to finish Idle
Config - - - 13s 13s
Eval - - - - -
Build - - - - -
Suite - - - 13s 13s