summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-27 20:23:37 +0200
committerLaurenz <laurmaedje@gmail.com>2023-03-27 20:23:37 +0200
commit66de90437f64e532a51297dc233c57c2cda9a124 (patch)
tree0a51c661b3c2a57182de34f881e848c7572c3ff5 /tests/typ/math
parentf33103cf58f920f8e05ee7fadba9c377095edef8 (diff)
Update fibonacci example and add `round` function
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/numbering.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/math/numbering.typ b/tests/typ/math/numbering.typ
index 71049a09..fd303ff2 100644
--- a/tests/typ/math/numbering.typ
+++ b/tests/typ/math/numbering.typ
@@ -8,4 +8,4 @@ We define $x$ in preparation of @fib:
$ phi.alt := (1 + sqrt(5)) / 2 $ <ratio>
With @ratio, we get
-$ F_n = floor(1 / sqrt(5) phi.alt^n) $ <fib>
+$ F_n = round(1 / sqrt(5) phi.alt^n) $ <fib>