add sinc operator (#720)

this is for the sinc function (https://en.wikipedia.org/wiki/Sinc_function)
This commit is contained in:
classabbyamp 2023-04-11 08:13:34 -04:00 committed by GitHub
parent c7db709da5
commit 022b945fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,8 @@ use super::*;
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`,
/// `cos`, `cosh`, `cot`, `ctg`, `coth`, `csc`, `deg`, `det`, `dim`,
/// `exp`, `gcd`, `hom`, `mod`, `inf`, `ker`, `lg`, `lim`, `ln`, `log`,
/// `max`, `min`, `Pr`, `sec`, `sin`, `sinh`, `sup`, `tan`, `tg`, `tanh`,
/// `liminf`, and `limsup`.
/// `max`, `min`, `Pr`, `sec`, `sin`, `sinc`, `sinh`, `sup`, `tan`, `tg`,
/// `tanh`, `liminf`, and `limsup`.
///
/// Display: Text Operator
/// Category: math
@ -99,6 +99,7 @@ ops! {
Pr (limits),
sec,
sin,
sinc,
sinh,
sup (limits),
tan,