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