tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50500] EL evaluation of floating-point String value vs BigInteger loses precision
Date Tue, 21 Dec 2010 02:12:43 GMT
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


Mime
View raw message