# SageMath, with the attached generate.py and solver.py beside this file.
from generate import PolytropicInertia
g = PolytropicInertia()
g.value({'n': '3/2'}, digits=100)The incompressible value is the exact rational $2/5$. The index-one closed form is evaluated with Arb ball arithmetic. Other entries use central-series initialization and Taylor continuation in $t=\sqrt{\theta_n}$, accumulating the axial density moment. Two runs use 150 and 210 working decimal digits, Taylor orders 160 and 210, step caps $1/12$ and $1/18$, and central matching radii $1/2$ and $2/3$. Their worst relative difference over the ten models is less than $3.25\times10^{-154}$; only 100 significant digits are stored.
The exact-profile cases are controls for the numerical integration. A separate implementation in the original radial coordinate checks every selected model, and the two independent moment integrals obey the integration-by-parts identity. A published Padé approximation in [2], Appendix C.4, provides an additional normalization check on $0\leq n\leq3$; its largest observed error on the selected indices is about $0.2142$ percent. The measured error rounds to the paper's $0.21$ percent, which is not used as a strict bound. These checks do not rigorously bound Taylor truncation, propagated ODE error or the radial endpoint approximation. The attached code and numerical evidence record the comparisons and their limitations.