[Mono-bugs] [Bug 24658] Changed - Single.Parse parses incorrectly floating point values.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
14 May 2002 00:08:05 -0000
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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=24658
--- shadow/24658 Mon May 13 19:46:20 2002
+++ shadow/24658.tmp.28125 Mon May 13 20:08:05 2002
@@ -2,22 +2,21 @@
Product: Mono/Runtime
Version: unspecified
OS: other
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: miguel@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
-Cc:
-Summary: ILGenerator.Emit (Opcode, Float) encodes incorrectly floating point value.
+Summary: Single.Parse parses incorrectly floating point values.
Mark tracked this down:
public class ReflectionTest {
static float tpi = 6.28318530717958647692528676655900577f
;
@@ -31,6 +30,9 @@
( A2 EA 01 DE )
While MCS with .NET encodes that as:
(DB 0F C9 40)
+
+------- Additional Comments From miguel@ximian.com 2002-05-13 20:08 -------
+This is not a bug in ILgenerator.Emit, it is a bug in Single.Parse