diff options
-rw-r--r-- | src/lex.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -103,6 +103,7 @@ lazy_static! { | |||
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 | m.insert("exp", Function::token_from_fn("exp".into(), |x| x.exp())); |
105 | m.insert("exp2", Function::token_from_fn("exp2".into(), |x| x.exp2())); | 105 | m.insert("exp2", Function::token_from_fn("exp2".into(), |x| x.exp2())); |
106 | m.insert("round", Function::token_from_fn("round".into(), |x| x.round())); | ||
106 | // single arg function s can be added here | 107 | // single arg function s can be added here |
107 | m | 108 | m |
108 | }; | 109 | }; |