[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.


--- 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 Details: 
+Status: NEW   
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jackson@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+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
+Actual Results:
+Expected Results:
+How often does this happen? 
+Allways with mono, works with mint
+Additional Information: