You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Grace K (Commented) (JIRA)" <ji...@apache.org> on 2012/02/28 19:11:46 UTC

[jira] [Commented] (JEXL-126) Decimal numbers literals should be 'double' by default (instead of 'float')

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

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

Thanks Henri.  I was the one who inquired about this on the mailing list.  It would be really helpful to me if you could attach the patch here or point me to a link to the patch.  My company follows certain liscensing contraints.

Thanks, 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