private static void Tanh(Evaluator eval, StackFrame frame) { Atom atom = (Atom)frame.args?.value; if (atom.type != AtomType.Number) { throw new ArgumentException("Argument must be number!"); } eval.Return(new Atom(AtomType.Number, UNumber.Tanh(atom.value))); }