You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/12/21 03:12:43 UTC

DO NOT REPLY [Bug 50500] EL evaluation of floating-point String value vs BigInteger loses precision

https://issues.apache.org/bugzilla/show_bug.cgi?id=50500

--- Comment #1 from brian.weisleder@gmail.com 2010-12-20 21:12:37 EST ---
Created an attachment (id=26429)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26429)
Patch to check for a BigInteger parameter before coercing to a double

This patch will correctly handle cases where a string, double, or float is
added, subtracted, or multiplied by a BigInteger. It does this by checking to
see if one of the parameters of a method call is a BigInteger if it knows the
other is a float, double, or string containing '.', 'e' or 'E'

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org