You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2015/10/13 09:05:05 UTC
[jira] [Updated] (GROOVY-7238) invalid BigDecimal to Double
conversion
[ https://issues.apache.org/jira/browse/GROOVY-7238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pascal Schumacher updated GROOVY-7238:
--------------------------------------
Affects Version/s: 2.4.5
> invalid BigDecimal to Double conversion
> ---------------------------------------
>
> Key: GROOVY-7238
> URL: https://issues.apache.org/jira/browse/GROOVY-7238
> Project: Groovy
> Issue Type: Bug
> Components: groovy-runtime
> Affects Versions: 2.3.9, 2.4.0, 2.4.5
> Reporter: Jochen Theodorou
>
> The expression "0.1d==0.1" as well as the other around returns true, but should be false. This returning true means the BigDecimal is converted to a double, since 0.1d is never exactly 0.1G.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)