System.Numerics.Tests.ComplexTests.Log_Zero C# (CSharp) Method

Log_Zero() private method

private Log_Zero ( ) : void
return void
        public static void Log_Zero()
        {
            Complex result = Complex.Log(Complex.Zero);
            VerifyRealImaginaryProperties(result, double.NegativeInfinity, 0);

            result = Complex.Log10(Complex.Zero);
            VerifyRealImaginaryProperties(result, double.NegativeInfinity, 0);

            result = Complex.Log(Complex.Zero, RandomPositiveDouble());
            VerifyRealImaginaryProperties(result, double.NegativeInfinity, double.NaN);
        }
ComplexTests