commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grace (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JEXL-126) Decimal numbers literals should be 'double' by default (instead of 'float')
Date Mon, 19 Mar 2012 21:57:38 GMT

    [ https://issues.apache.org/jira/browse/JEXL-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232951#comment-13232951
] 

Grace commented on JEXL-126:
----------------------------

Hi Henri,

Sorry for the late response.  I missed the email.  Yes, I would like a patch on the 2.1.1
version.

Thank you!
Grace
                
> Decimal numbers literals should be 'double' by default (instead of 'float')
> ---------------------------------------------------------------------------
>
>                 Key: JEXL-126
>                 URL: https://issues.apache.org/jira/browse/JEXL-126
>             Project: Commons JEXL
>          Issue Type: Improvement
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Minor
>             Fix For: 3.0
>
>
> Since Jexl 1.x, decimal number literals are 'float'; it would be more natural (pun unintended)
to create 'double' instead since they are used more often (reduce 'surprise' effects).
> Note that since 2.1, numbers literals notations allow typing; '123f' is a float literal.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message