commons-issues mailing list archives

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


Bruno P. Kinoshita commented on NUMBERS-43:

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


>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

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:
>             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

View raw message