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)); } }
static MathS() { NumberFormatInfo nfi = new NumberFormatInfo { NumberDecimalSeparator = "." }; Sumf.Wakeup(); Minusf.Wakeup(); Mulf.Wakeup(); Divf.Wakeup(); Powf.Wakeup(); Sinf.Wakeup(); Cosf.Wakeup(); Tanf.Wakeup(); Cotanf.Wakeup(); Logf.Wakeup(); Arcsinf.Wakeup(); Arccosf.Wakeup(); Arctanf.Wakeup(); Arccotanf.Wakeup(); }
public Entity Arccotan() => Arccotanf.Hang(this);
public static Entity Arccotan(Entity a) => Arccotanf.Hang(a);