http://bugzilla.novell.com/show_bug.cgi?id=550580
Summary: float expression probably optimized in wrong way
Classification: Mono
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
The following code prints 0 on mono and .NET when compiled with csc, while
prints NaN on mono and .NET when compiled with gmcs.
--------
using System;
public class Test
{
public static void Main ()
{
float a = 1f/3, b = (float) Math.Acos ((float) (a * 3));
Console.WriteLine (b);
}
}
--
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