[Mono-bugs] [Bug 54467][Wis] New - Incorrect values when subtracting doubles

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 17 Feb 2004 12:19:01 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jackson@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=54467

--- shadow/54467	2004-02-17 12:19:01.000000000 -0500
+++ shadow/54467.tmp.13726	2004-02-17 12:19:01.000000000 -0500
@@ -0,0 +1,42 @@
+Bug#: 54467
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jackson@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Incorrect values when subtracting doubles
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When running the following test case with mint or MS I get the correct
+value (0) printed out. With mono I get -6.1257422745431E-17. If I change
+the test case to be d - d or Math.Atan (double.NegativeInfinity) -
+Math.Atan (double.NegativeInfinity) I get the correct results.
+
+Steps to reproduce the problem:
+1. Compile the attached program
+2. run
+3. 
+
+Actual Results:
+-6.1257422745431E-17
+
+Expected Results:
+0
+
+How often does this happen? 
+Allways with mono, works with mint
+
+Additional Information: