[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [Bug #2579] 0.5.2 : (Double.Parse( d.ToString() ) ==
From: |
nobody |
Subject: |
[Pnet-developers] [Bug #2579] 0.5.2 : (Double.Parse( d.ToString() ) == d) is false |
Date: |
Mon, 17 Mar 2003 12:53:22 -0500 |
=================== BUG #2579: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2579&group_id=353
Changes by: Jonathan Springer <address@hidden>
Date: Mon 03/17/03 at 12:53 (America/New_York)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Corrected and committed to CVS.
=================== BUG #2579: FULL BUG SNAPSHOT ===================
Submitted by: yannis_bres Project: DotGNU Portable.NET
Submitted on: Tue 02/18/03 at 08:34
Category: None Severity: 5 - Major
Bug Group: None Resolution: Fixed
Assigned to: springjp Status: Closed
Summary: 0.5.2 : (Double.Parse( d.ToString() ) == d) is false
Original Submission: Hi folks !
There is still a problem with converting doubles to string and then back to
doubles (quite useful for home-made serialization) : (Double.Parse(
d.ToString() ) == d) is false under Portable.NET VM while it is true under Mono
0.19 and M$ VMs...
Have fun,
Yannis
Follow-up Comments
*******************
-------------------------------------------------------
Date: Mon 03/17/03 at 12:53 By: springjp
Corrected and committed to CVS.
-------------------------------------------------------
Date: Fri 02/21/03 at 03:44 By: t3rmin4t0r
it seems to be getting a few insignificant changes in the process .. Lemme
investigate further.
double d1= 1.13;
double d2=Double.Parse(d1.ToString());
if(d1!=d2)
{
Console.WriteLine((d2*100000)+" != "+(d1*100000));
}
was the curious part
[tests]$ ilrun a.out.exe
113000.000000000014551 != 112999.999999999985448
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Tue 02/18/03 at 08:34 Name: 1.13.cs Size: 0KB By: yannis_bres
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=2579&bug_file_id=309
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2579&group_id=353
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [Bug #2579] 0.5.2 : (Double.Parse( d.ToString() ) == d) is false,
nobody <=