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