System.Numerics.Tests.ComplexTests.Exp_MaxReal C# (CSharp) Méthode

Exp_MaxReal() private méthode

private Exp_MaxReal ( ) : void
Résultat void
        public static void Exp_MaxReal()
        {
            // On Windows, the result is {double.PositiveInfinity, double.NaN}
            // On Unix, the result is {double.NegativeInfinity, double.NaN}
            // Which one is incorrect should be determined.
            var complex = new Complex(double.MaxValue, 0);
            Complex result = Complex.Exp(complex);
            VerifyRealImaginaryProperties(result, double.PositiveInfinity, double.NaN);
        }
ComplexTests