Skip to content

Commit 022b945

Browse files
authored
add sinc operator (typst#720)
this is for the sinc function (https://en.wikipedia.org/wiki/Sinc_function)
1 parent c7db709 commit 022b945

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

library/src/math/op.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ use super::*;
1515
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`,
1616
/// `cos`, `cosh`, `cot`, `ctg`, `coth`, `csc`, `deg`, `det`, `dim`,
1717
/// `exp`, `gcd`, `hom`, `mod`, `inf`, `ker`, `lg`, `lim`, `ln`, `log`,
18-
/// `max`, `min`, `Pr`, `sec`, `sin`, `sinh`, `sup`, `tan`, `tg`, `tanh`,
19-
/// `liminf`, and `limsup`.
18+
/// `max`, `min`, `Pr`, `sec`, `sin`, `sinc`, `sinh`, `sup`, `tan`, `tg`,
19+
/// `tanh`, `liminf`, and `limsup`.
2020
///
2121
/// Display: Text Operator
2222
/// Category: math
@@ -99,6 +99,7 @@ ops! {
9999
Pr (limits),
100100
sec,
101101
sin,
102+
sinc,
102103
sinh,
103104
sup (limits),
104105
tan,

0 commit comments

Comments
 (0)