evaluatorrs/formulas/
math.rs

1impl_many_one_arg_functions!(
2    acos, Acos;
3    acosh, Acosh;
4    asin, Asin;
5    asinh, Asinh;
6    atan, Atan;
7    atanh, Atanh;
8    cbrt, Cbrt;
9    ceil, Ceil;
10    cos, Cos;
11    cosh, Cosh;
12    exp, Exp;
13    floor, Floor;
14    sin, Sin;
15    sinh, Sinh;
16    sqrt, Sqrt;
17    tan, Tan;
18    tanh, Tanh;
19);
20
21impl_one_arg_function!(
22    "log", (f64::ln), (libm::Libm::<f64>::log),
23    /// Natural logarithm function.
24    pub Log
25);
26
27#[cfg(feature = "libm")]
28impl_one_arg_function!(
29    "erf", (libm::Libm::<f64>::erf),
30    /// Error function.
31    pub Erf
32);