pub const MAX_DIMEN: i64 = 0x3FFF_FFFF;Expand description
TeX’s max_dimen (tex.web §421: 2^30 − 1 sp = 16383.99998pt), the bound
arith_error clamps a scanned dimension to (“Dimension too large”, §460).
LaTeXML keeps i64 headroom above it for pgf/tikz intermediates, so the
clamp fires only where the value would not even fit an i64 — the
pathology that wrapped to garbage (chinesechess.sty:2016-2020’s
\coffin_scale:cnn{\dim_ratio:nn{…}{0}}, batch 56bq).