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

Gilles Sadowski commented on NUMBERS-77:
----------------------------------------

I've just attached a [^NUMBERS-77.diff] with my idea of how to port the 
{{DoublePrecisionContext}} functionality. [Maybe the name is still not right.]
 Main points are
 * the interface (with "default" methods)
 * the anonymous instance returned by the factory method
 * no {{Serializable}}
 * no {{equals}}, {{hashCode}}, {{toString}} methods

The rationale is still to have as lean an API as possible.
 Could the functionality be used as is in [Geometry]?

> Move utilities from "Commons Geometry"
> --------------------------------------
>
>                 Key: NUMBERS-77
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-77
>             Project: Commons Numbers
>          Issue Type: Task
>            Reporter: Gilles Sadowski
>            Priority: Major
>             Fix For: 1.1
>
>         Attachments: NUMBERS-77.diff
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> "Commons Geometry" defines utilities that would be a better fit in this 
> component.
> Duplication of general-purpose codes should be avoided, in order to benefit 
> from consolidated usage (bug reporting, performance enhancements, ...).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to