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