retex-arith 1.2.0

TeX-exact fixed-point arithmetic for retex
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# retex-arith

TeX-exact fixed-point arithmetic.

TeX computes dimensions with integers in scaled points (2⁻¹⁶ pt). This crate
implements the routines of *TeX: The Program* (§99–§108) and e-TeX's
`\numexpr`/`\dimexpr` evaluation so that results, rounding and overflow
behaviour match TeX bit for bit.

This crate is a component of [retex](https://gitlab.com/severin-lemaignan/retex),
a TeX engine written in Rust that replaces `lualatex`. See the retex README for
the project as a whole. The API serves retex and may change between versions.

License: CC0-1.0.