From a60b85b538c9131869bde5e5e196f6aa23763090 Mon Sep 17 00:00:00 2001 From: Denis Chevalier Date: Mon, 10 Aug 2026 22:34:36 +0200 Subject: rename assert_aeq.typ and apply_prefix.typ s/_/-/ --- lib/assert-aeq.typ | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lib/assert-aeq.typ (limited to 'lib/assert-aeq.typ') diff --git a/lib/assert-aeq.typ b/lib/assert-aeq.typ new file mode 100644 index 0000000..70b9e64 --- /dev/null +++ b/lib/assert-aeq.typ @@ -0,0 +1,3 @@ +#let assert-aeq(left, right, precision: calc.pow(10, -6)) = { + assert(calc.abs(left - right) < precision) +} -- cgit