Example #1
0
        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));
            }
        }
Example #2
0
 public Entity Arccotan() => Arccotanf.Hang(this);
Example #3
0
 public static Entity Arccotan(Entity a) => Arccotanf.Hang(a);