[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #8148] division broken in System.Decimal
From: |
anonymous |
Subject: |
[Pnet-developers] [bugs #8148] division broken in System.Decimal |
Date: |
Mon, 15 Mar 2004 09:08:57 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031120 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #8148] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8148>
Project: DotGNU Portable.NET
Submitted by: 0
On: Mon 03/15/04 at 09:08
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Status: Open
Summary: division broken in System.Decimal
Original Submission: The attached program tries to compute 1/7 with the
decimal type (1). The result prints as "44834799017975888171469461274". For
comparision the 1/7 is also computed via a conversion to double and a back
conversion to decimal (2). The result is 0.1428571428571428315532886016 this
time. The result from (1) is then multiplied with 10 (3). This raises a
System.OverflowException.
File Attachments
-------------------
-------------------------------------------------------
Date: Mon 03/15/04 at 09:08 Name: decimals.cs Size: 410KB By: None
test case
http://savannah.gnu.org/bugs/download.php?item_id=8148&item_file_id=1116
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8148>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bugs #8148] division broken in System.Decimal,
anonymous <=