Re: [MATH][NUMBERS] Method to convert unsigned long to BigInteger

2023-12-24 Thread Alex Herbert
On Sun, 24 Dec 2023 at 16:31, sebb wrote: > > On Sun, 24 Dec 2023 at 16:14, Alex Herbert wrote: > > > > On Sun, 24 Dec 2023 at 13:58, sebb wrote: > > > > > > On Sun, 24 Dec 2023 at 13:16, Alex Herbert > > > wrote: > > > > > > > > On Sun, 24 Dec 2023 at 11:45, Elliotte Rusty Harold > > > > wr

Re: [MATH][NUMBERS] Method to convert unsigned long to BigInteger

2023-12-24 Thread sebb
On Sun, 24 Dec 2023 at 16:14, Alex Herbert wrote: > > On Sun, 24 Dec 2023 at 13:58, sebb wrote: > > > > On Sun, 24 Dec 2023 at 13:16, Alex Herbert wrote: > > > > > > On Sun, 24 Dec 2023 at 11:45, Elliotte Rusty Harold > > > wrote: > > > > > > > > On Sun, Dec 24, 2023 at 9:59 AM sebb wrote: >

Re: [MATH][NUMBERS] Method to convert unsigned long to BigInteger

2023-12-24 Thread Alex Herbert
On Sun, 24 Dec 2023 at 13:58, sebb wrote: > > On Sun, 24 Dec 2023 at 13:16, Alex Herbert wrote: > > > > On Sun, 24 Dec 2023 at 11:45, Elliotte Rusty Harold > > wrote: > > > > > > On Sun, Dec 24, 2023 at 9:59 AM sebb wrote: > > > > > > > > Both Numbers and Statistics have implementations of > >

Re: [MATH][NUMBERS] Method to convert unsigned long to BigInteger

2023-12-24 Thread sebb
On Sun, 24 Dec 2023 at 13:16, Alex Herbert wrote: > > On Sun, 24 Dec 2023 at 11:45, Elliotte Rusty Harold > wrote: > > > > On Sun, Dec 24, 2023 at 9:59 AM sebb wrote: > > > > > > Both Numbers and Statistics have implementations of > > > > > > BigInteger toUnsignedBigInteger(long treatedAsUnsign

Re: [MATH][NUMBERS] Method to convert unsigned long to BigInteger

2023-12-24 Thread Alex Herbert
On Sun, 24 Dec 2023 at 11:45, Elliotte Rusty Harold wrote: > > On Sun, Dec 24, 2023 at 9:59 AM sebb wrote: > > > > Both Numbers and Statistics have implementations of > > > > BigInteger toUnsignedBigInteger(long treatedAsUnsigned) > > > > Can you describe a use case for this? That might help deci

Re: [MATH][NUMBERS] Method to convert unsigned long to BigInteger

2023-12-24 Thread Elliotte Rusty Harold
On Sun, Dec 24, 2023 at 9:59 AM sebb wrote: > > Both Numbers and Statistics have implementations of > > BigInteger toUnsignedBigInteger(long treatedAsUnsigned) > Can you describe a use case for this? That might help decide where it belongs. I wouldn't be surprised if this is more suitable for lan

[MATH][NUMBERS] Method to convert unsigned long to BigInteger

2023-12-24 Thread sebb
Both Numbers and Statistics have implementations of BigInteger toUnsignedBigInteger(long treatedAsUnsigned) But these methods are in test classes. Seems to me it would be useful to provide a public version of the method, but where does it belong? Sebb --