Re: [dev] suckless bignum library

2015-12-10 Thread Mattias Andrée
On Thu, 10 Dec 2015 10:50:12 -0800 Louis Santillan wrote: > On Thu, Dec 10, 2015 at 10:36 AM, Greg Reagle > wrote: > > On 12/10/2015 12:57 PM, FRIGN wrote: > >> > >> What does the base have to do with the results? > > > > > > A lot. For instance, "Many non-integral values, such > > as decim

Re: [dev] suckless bignum library

2015-12-10 Thread Louis Santillan
On Thu, Dec 10, 2015 at 10:36 AM, Greg Reagle wrote: > On 12/10/2015 12:57 PM, FRIGN wrote: >> >> What does the base have to do with the results? > > > A lot. For instance, "Many non-integral values, such as decimal 0.2, have > an infinite place-value representation in binary (.001100110011...) b

Re: [dev] suckless bignum library

2015-12-10 Thread Greg Reagle
On 12/10/2015 12:57 PM, FRIGN wrote: What does the base have to do with the results? A lot. For instance, "Many non-integral values, such as decimal 0.2, have an infinite place-value representation in binary (.001100110011...) but have a finite place-value in binary-coded decimal (0.0010).

Re: [dev] suckless bignum library

2015-12-10 Thread FRIGN
On Thu, 10 Dec 2015 10:33:13 -0800 Louis Santillan wrote: > Understood. I don't believe David wrote that code so he can't claim > copyright to it. In any case, emails to David & Tom could probably > clear up the situation. However, if the code does not appear useful, > no need to go through th

Re: [dev] suckless bignum library

2015-12-10 Thread Louis Santillan
On Thu, Dec 10, 2015 at 10:26 AM, Mattias Andrée wrote: > If you are counting the informal license > "Distribute like mad!" as a making it "public domain". > First, that depends on jurisdiction. But! > The README in the zipfile says it is proprietary > (for personal use only.) Understood. I don'

Re: [dev] suckless bignum library

2015-12-10 Thread Mattias Andrée
If you are counting the informal license "Distribute like mad!" as a making it "public domain". First, that depends on jurisdiction. But! The README in the zipfile says it is proprietary (for personal use only.) On Thu, 10 Dec 2015 10:17:04 -0800 Louis Santillan wrote: > On Thu, Dec 10, 2015 a

Re: [dev] suckless bignum library

2015-12-10 Thread Louis Santillan
On Thu, Dec 10, 2015 at 7:30 AM, FRIGN wrote: > > On Wed, 9 Dec 2015 23:44:11 -0800 > Louis Santillan wrote: > > > Are libtommath [0]/tomsfastmath [1] not suckless? > > > > [0] https://github.com/libtom/libtommath > > [1] https://github.com/libtom/tomsfastmath > > too complex for my tastes, but d

Re: [dev] suckless bignum library

2015-12-10 Thread FRIGN
On Thu, 10 Dec 2015 09:41:21 -0800 Evan Gates wrote: Hey Evan, > The problem with that is bc can't use a normal bignum library and be > POSIX compliant as all the internal math is required to be in base 10. > "Internal computations shall be conducted as if in decimal, regardless > of the input a

Re: [dev] suckless bignum library

2015-12-10 Thread Evan Gates
On Thu, Dec 10, 2015 at 7:30 AM, FRIGN wrote: > but just a library with just enough functions to get around with > to handle tasks like dc(1) and bc(1). The problem with that is bc can't use a normal bignum library and be POSIX compliant as all the internal math is required to be in base 10. "Int

Re: [dev] suckless bignum library

2015-12-10 Thread FRIGN
On Wed, 9 Dec 2015 23:44:11 -0800 Louis Santillan wrote: > Are libtommath [0]/tomsfastmath [1] not suckless? > > [0] https://github.com/libtom/libtommath > [1] https://github.com/libtom/tomsfastmath too complex for my tastes, but don't get me wrong. I know that for numerical perfection, you hav

Re: [dev] suckless bignum library

2015-12-09 Thread Louis Santillan
On Tue, Dec 8, 2015 at 7:09 AM, Marc Collin wrote: > A proposal of a suckless bignum library is finally taking shape. > > The discussion that lead to it (and is still ongoing) can be found > here. > http://bbs.progrider.org/prog/read/1447711906/1,35,41,48,51,52,54,60,61,64,67-69,71-75,77,78,80,82

[dev] suckless bignum library

2015-12-08 Thread Marc Collin
A proposal of a suckless bignum library is finally taking shape. The discussion that lead to it (and is still ongoing) can be found here. http://bbs.progrider.org/prog/read/1447711906/1,35,41,48,51,52,54,60,61,64,67-69,71-75,77,78,80,82,84-105 If you're just interested in the code, it's here. ht