Re: [numbers] Continued Fraction + Fraction updates

2020-04-08 Thread Gilles Sadowski
Le mer. 8 avr. 2020 à 15:58, Alex Herbert a écrit : > > > On 08/04/2020 14:08, Gilles Sadowski wrote: > > Le mer. 8 avr. 2020 à 14:26, Alex Herbert a > > écrit : > >> > >> On 08/04/2020 00:36, Gilles Sadowski wrote: > >>> 2020-04-07 23:01 UTC+02:00, Alex Herbert : > > On 7 Apr 2020, at

Re: [numbers] Continued Fraction + Fraction updates

2020-04-08 Thread Alex Herbert
On 08/04/2020 14:08, Gilles Sadowski wrote: Le mer. 8 avr. 2020 à 14:26, Alex Herbert a écrit : On 08/04/2020 00:36, Gilles Sadowski wrote: 2020-04-07 23:01 UTC+02:00, Alex Herbert : On 7 Apr 2020, at 17:47, Gilles Sadowski wrote: Le mar. 7 avr. 2020 à 14:54, Alex Herbert

Re: [numbers] Continued Fraction + Fraction updates

2020-04-08 Thread Gilles Sadowski
Le mer. 8 avr. 2020 à 14:26, Alex Herbert a écrit : > > > On 08/04/2020 00:36, Gilles Sadowski wrote: > > 2020-04-07 23:01 UTC+02:00, Alex Herbert : > >> > >>> On 7 Apr 2020, at 17:47, Gilles Sadowski wrote: > >>> > >>> Le mar. 7 avr. 2020 à 14:54, Alex Herbert >>>

Re: [numbers] Continued Fraction + Fraction updates

2020-04-08 Thread Alex Herbert
On 08/04/2020 00:36, Gilles Sadowski wrote: 2020-04-07 23:01 UTC+02:00, Alex Herbert : On 7 Apr 2020, at 17:47, Gilles Sadowski wrote: Le mar. 7 avr. 2020 à 14:54, Alex Herbert mailto:alex.d.herb...@gmail.com>> a écrit : On 07/04/2020 13:43, Alex Herbert wrote: Fraction I also did a

Re: [numbers] Continued Fraction + Fraction updates

2020-04-07 Thread Gilles Sadowski
2020-04-07 23:01 UTC+02:00, Alex Herbert : > > >> On 7 Apr 2020, at 17:47, Gilles Sadowski wrote: >> >> Le mar. 7 avr. 2020 à 14:54, Alex Herbert > > a écrit : >>> >>> On 07/04/2020 13:43, Alex Herbert wrote: Fraction I also did a big

Re: [numbers] Continued Fraction + Fraction updates

2020-04-07 Thread Alex Herbert
> On 7 Apr 2020, at 17:47, Gilles Sadowski wrote: > > Le mar. 7 avr. 2020 à 14:54, Alex Herbert > a écrit : >> >> On 07/04/2020 13:43, Alex Herbert wrote: >>> >>> Fraction >>> >>> I also did a big arrangement of Fraction and BigFraction. > > Thanks. > >>

Re: [numbers] Continued Fraction + Fraction updates

2020-04-07 Thread Gilles Sadowski
Le mar. 7 avr. 2020 à 14:54, Alex Herbert a écrit : > > On 07/04/2020 13:43, Alex Herbert wrote: > > > > Fraction > > > > I also did a big arrangement of Fraction and BigFraction. Thanks. > > I noticed that hashCode is using some variant of the format used in > Arrays.hashCode(...) > > I

Re: [numbers] Continued Fraction + Fraction updates

2020-04-07 Thread Alex Herbert
On 07/04/2020 13:43, Alex Herbert wrote: Fraction I also did a big arrangement of Fraction and BigFraction. I noticed that hashCode is using some variant of the format used in Arrays.hashCode(...) I wondered if we should standardise on returning a value as if computed using e.g.

Re: [numbers] Continued Fraction + Fraction updates

2020-04-07 Thread Alex Herbert
Continued Fraction I've updated ContinuedFraction to use numerator a over denominator b. This is consistent with the original source paper for the method. Fraction While looking at the fraction package it was very hard to compare Fraction and BigFraction side-by-side. This is a problem as