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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to