On 10.01.24 05:53, Paul King wrote:
Hi folks,
The NumberRange abstraction tries very hard to allow any Number
numeric type to be used but since the Number interface doesn't convey
much behavior, there are a few places where it defaults to using
Groovy's NumberMath plumbing which, to cut a long s
On Wed, Jan 10, 2024 at 8:41 PM Jochen Theodorou wrote:
>
> On 10.01.24 05:53, Paul King wrote:
> > Hi folks,
> >
> > The NumberRange abstraction tries very hard to allow any Number
> > numeric type to be used but since the Number interface doesn't convey
> > much behavior, there are a few places
Hi guys,
some thoughts on Number sub-interfaces in general:
1. I would have loved to have specialized Number sub-interfaces like
FloatNumber and IntNumber for some time.
1. From what Paul suggests, RationalNumber would be another
interesting interface to add here.
2. Evidently