Re: bignum math library

2018-11-19 Thread Geoff Canyon via use-livecode
Well, the code is theirs to use if it's useful. We'll see. On Mon, Nov 19, 2018 at 3:02 PM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > Here's a scenario that makes your scripts nevertheless valuable. > > If they implement "Decimal number" for LC Builder, what I hope, > because t

Re: bignum math library

2018-11-19 Thread hh via use-livecode
Here's a scenario that makes your scripts nevertheless valuable. If they implement "Decimal number" for LC Builder, what I hope, because the numbers implementation in LCB is rather uncomplete. ___ use-livecode mailing list use-livecode@lists.runrev.co

Re: bignum math library

2018-11-19 Thread Geoff Canyon via use-livecode
There are libraries for this stuff in C. I'm sure if they incorporate something in the engine my stuff would be entirely unnecessary. Anything in C is going to *far* outclass/speed anything I've done in script. On Sun, Nov 18, 2018 at 11:15 PM hh via use-livecode < use-livecode@lists.runrev.com> w

Re: bignum math library

2018-11-18 Thread hh via use-livecode
On LC Global (Nov 2018, Monthly report) Kevin and Ali announced among others "Decimal Number Implementation", see my screenshot http://forums.livecode.com/viewtopic.php?f=76&t=31797 This is probably close to an arbitrary-precision Decimal type, I know the javascript version: https://github.com/Mik

Re: bignum math library

2018-11-18 Thread Tom Glod via use-livecode
very impressed ..thank you. On Sun, Nov 18, 2018 at 1:29 PM Geoff Canyon via use-livecode < use-livecode@lists.runrev.com> wrote: > I've created bignum libraries in the past, but never organized it or did > all four operators. So I started with earlier versions of some of the > functions, optimiz

bignum math library

2018-11-18 Thread Geoff Canyon via use-livecode
I've created bignum libraries in the past, but never organized it or did all four operators. So I started with earlier versions of some of the functions, optimized, corrected, and extended, and here it is: https://github.com/gcanyon/bignum It includes functions for addition, subtraction, multiplic