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 Pow(Entity n) => Powf.Hang(this, n);
public static Entity Sqr(Entity a) => Powf.Hang(a, 2);
public static Entity Sqrt(Entity a) => Powf.Hang(a, Number.CreateRational(1, 2));
public static Entity Pow(Entity base_, Entity power) => Powf.Hang(base_, power);
public static Entity Sqrt(Entity a) => Powf.Hang(a, 0.5);