summaryrefslogtreecommitdiff
path: root/tests
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
parentf33103cf58f920f8e05ee7fadba9c377095edef8 (diff)
Update fibonacci example and add `round` function
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/numbering.pngbin14196 -> 14195 bytes
-rw-r--r--tests/typ/math/numbering.typ2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/math/numbering.png b/tests/ref/math/numbering.png
index a06e2b0c..72abfed6 100644
--- a/tests/ref/math/numbering.png
+++ b/tests/ref/math/numbering.png
Binary files differ
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>