diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lex.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -101,6 +101,7 @@ lazy_static! { | |||
101 | m.insert("acsc", Function::token_from_fn("acsc".into(), |x| (1./x).asin())); | 101 | m.insert("acsc", Function::token_from_fn("acsc".into(), |x| (1./x).asin())); |
102 | m.insert("asec", Function::token_from_fn("asec".into(), |x| (1./x).acos())); | 102 | m.insert("asec", Function::token_from_fn("asec".into(), |x| (1./x).acos())); |
103 | m.insert("acot", Function::token_from_fn("acot".into(), |x| (1./x).atan())); | 103 | m.insert("acot", Function::token_from_fn("acot".into(), |x| (1./x).atan())); |
104 | m.insert("exp", Function::token_from_fn("exp".into(), |x| x.exp())); | ||
104 | // single arg function s can be added here | 105 | // single arg function s can be added here |
105 | m | 106 | m |
106 | }; | 107 | }; |