[Mono-bugs] [Bug 44238][Wis] Changed - Math.Tan() returning incorrect results

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 6 Jun 2003 12:32:24 -0400 (EDT)


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 bmaurer@users.sf.net.

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

--- shadow/44238	Fri Jun  6 11:09:14 2003
+++ shadow/44238.tmp.22853	Fri Jun  6 12:32:24 2003
@@ -2,21 +2,20 @@
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
-Component: System
+Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: jason@379.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
 Summary: Math.Tan() returning incorrect results
 
 Please fill in this template when reporting a bug, unless you know what 
 you are doing.
 Description of Problem:
 
@@ -42,6 +41,20 @@
   Console.WriteLine(top);
 
 Prints '0.1732051' on MS, '1.73' on Mono. Notice the different in 
 magnitude.
 
 I am testing this with the 05-Jun-03 Mono snapshot.
+
+------- Additional Comments From bmaurer@users.sf.net  2003-06-06 12:32 -------
+What happens if you compile with csc and run on Mono? mcs then ms.net?
+What happens if you use just constants (or more simple expressions)?
+For example:
+
+(p == 3.14....)
+tan (3*p/2)
+tan (p)
+tan (0)
+
+Does this happen with the other trig functions?
+Is mono able to roundtrip all numbers in [0, p/2) with the following:
+arctan (tan ( theta))?