[Mono-bugs] [Bug 43018][Nor] Changed - Mono is unable to evaluate Math.Pow (-2, (+/-)1E300))

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 30 May 2003 10:31:40 -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 dietmar@ximian.com.

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

--- shadow/43018	Fri May 30 10:26:45 2003
+++ shadow/43018.tmp.11881	Fri May 30 10:31:39 2003
@@ -61,6 +61,18 @@
 This is from the Rotor test suite. Adding dependency.
 
 ------- Additional Comments From dietmar@ximian.com  2003-05-30 10:26 -------
 Created an attachment (id=4503)
 a more complete set of tests
 
+
+------- Additional Comments From dietmar@ximian.com  2003-05-30 10:31 -------
+I dont understand the code in Math.Pow() - looks strange. 
+
+I also detected a few strange cases:
+
+Math.Pow (1, Infinity) return Infinity on MS .NET (I would expect 1)
+
+pow (-1, -1.E+300) return NAN on RH8 (I would expect 1)
+
+
+