[Mono-bugs] [Bug 550580] New: float expression probably optimized in wrong way
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Oct 27 23:02:02 EDT 2009
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: mono-bugs at lists.ximian.com
ReportedBy: aenomoto at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list