[Mono-bugs] [Bug 626944] New: Math.Log(2, 1) should return double.NaN instead of double.PositiveInfinity

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 30 04:06:53 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=626944

http://bugzilla.novell.com/show_bug.cgi?id=626944#c0


           Summary: Math.Log(2,1) should return double.NaN instead of
                    double.PositiveInfinity
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: i686
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: himajin100000 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:


Steps to reproduce the problem:
1. Run the following Code

using System;



namespace Log

{

    class MainClass

    {

        public static void Main ()

        {

            Console.WriteLine (System.Math.Log(2,1));

        }

    }

}





Actual Results:
Infinity

Expected Results:
NaN

accroding to the documentation
http://www.go-mono.com/docs/index.aspx?link=M%3aSystem.Math.Log%28System.Double%2cSystem.Double%29

How often does this happen? 
always

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list