[ 
https://issues.apache.org/jira/browse/JEXL-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitri Blinov closed JEXL-247.
------------------------------
    Resolution: Not A Problem

Sorry, the code transforms BigInteger using toString(), so the problem should 
not happen.

> Possible value loss in case of coersion of BigInteger to BigDecimal
> -------------------------------------------------------------------
>
>                 Key: JEXL-247
>                 URL: https://issues.apache.org/jira/browse/JEXL-247
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Dmitri Blinov
>
> It seems that {{JexlArithmetic.toBigDecimal}} method does not have a special 
> treatment for {{BigInteger}} type, only for {{Number}}, which can lead to 
> value loss in arithmetic operations for values greater than 
> {{Long.MAX_VALUE}} 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to