commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUMBERS-43) Remove "round(float)" methods?
Date Wed, 14 Jun 2017 11:03:00 GMT

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

Bruno P. Kinoshita commented on NUMBERS-43:
-------------------------------------------

>Here I suggest to remove a utility which has no identified usage (cf. "Commons Math" codebase).

Ack

>Are the float methods defined in Precision helpful tools for those manipulations? In the
affirmative, we must keep them. If not, why bother (in v1.0)?

Makes sense.

>What about
>
>    Perform the crusade (limited to the yet unreleased "Numbers"...)
>    Make a note about it in the "ANNOUNCE" message and in the "RELEASE NOTES"
>
> Then, depending on the feedback, we can go forward with what the user community really
needs/wants.

In that case I'm +0 for removing it :-) should any user with a valid argument suggests adding
the method, we can just proceed and add it then.

> Remove "round(float)" methods?
> ------------------------------
>
>                 Key: NUMBERS-43
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-43
>             Project: Commons Numbers
>          Issue Type: Wish
>            Reporter: Gilles
>              Labels: api, float
>             Fix For: 1.0
>
>
> In class {{Precision}}, there are methods for rounding {{float}} values, e.g.
> {code:java}
> public static float round(float x, int scale, int roundingMethod) { /* ... */ }
> {code}
> Is there any use for supporting specific handling of floats (in these times where memory
is not a scarce resources anymore)?



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

Mime
View raw message