diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-27 20:23:37 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-27 20:23:37 +0200 |
| commit | 66de90437f64e532a51297dc233c57c2cda9a124 (patch) | |
| tree | 0a51c661b3c2a57182de34f881e848c7572c3ff5 /tests | |
| parent | f33103cf58f920f8e05ee7fadba9c377095edef8 (diff) | |
Update fibonacci example and add `round` function
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math/numbering.png | bin | 14196 -> 14195 bytes | |||
| -rw-r--r-- | tests/typ/math/numbering.typ | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/math/numbering.png b/tests/ref/math/numbering.png Binary files differindex a06e2b0c..72abfed6 100644 --- a/tests/ref/math/numbering.png +++ b/tests/ref/math/numbering.png 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> |
