https://bugzilla.novell.com/show_bug.cgi?id=383531


           Summary: Double.Max / 2 = something different on Mono vs. .NET
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


using System;
using System.Collections.Generic;
using System.Text;

namespace DoubleTest
{
        class Program
        {
                static void Main(string[] args)
                {
                        double expectedValue = 8.98846567431158E+307;
                        double actualValue = Double.MaxValue / 2;

                        Console.WriteLine("Expected: " +
expectedValue.ToString());
                        Console.WriteLine("Actual:   " +
actualValue.ToString());
                        Console.Read();
                }
        }
}


Expected: 8.98846567431158E+307
Actual:   8.98846524481485E+307


-- 
Configure bugmail: https://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