[Mono-bugs] [Bug 584736] Decimal to double conversion very slow

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 3 13:09:30 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=584736

http://bugzilla.novell.com/show_bug.cgi?id=584736#c1


Miguel de Icaza <miguel at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |miguel at novell.com

--- Comment #1 from Miguel de Icaza <miguel at novell.com> 2010-03-03 18:09:29 UTC ---
The above comment is no longer correct.

I added code to decimal.c to reduce the scale to the minimum required, this
code is on SVN.

The problem that we have now with the fast double2decimal is that it
incorrectly turns some double to decimals:

The double value: 1.23456789E-25F which should be turned into this decimal:

0.0000000000000000000000001235

Is actually parsed as:

0.0000000000000000000000001234

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list