Skip to main content

scale_by_factor

Function scale_by_factor 

Source
pub fn scale_by_factor(x: i64, factor: i64) -> i64
Expand description

<factor><dimen> as TeX’s scan_dimen multiplies them (tex.web §455): nx_plus_y(n, x, xn_over_d(x, f, 2^16)) for the factor n + f/2^16 (factor in scaled points), its sign attached after (§448). Not clamped: an overflow past max_dimen is the caller’s to report (§461).