public static Entity Eval(List <Entity> args) { MathFunctions.AssertArgs(args.Count, 1); var arg = args[0].InnerEval(); if (arg.entType == Entity.EntType.NUMBER) { return(new NumberEntity(Number.Arccotan((arg as NumberEntity).Value))); } else { return(Arccotanf.Hang(arg)); } }
public Entity Arccotan() => Arccotanf.Hang(this);
public static Entity Arccotan(Entity a) => Arccotanf.Hang(a);