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