Re: [Toybox] Toybox bc's transcendental and irrational functions produce incorrect results, memory leaks and exhibit brute force algorithmic complexity.

2018-08-28 Thread Ivo van Poorten
On Tue, 28 Aug 2018 16:25:48 -0400 Zach van Rijn wrote: > On Tue, 2018-08-28 at 14:53 -0500, Sasha Toltec wrote: > > Otherwise, I am deleting this account. No idea about the difference between an account and a mailing-list subscription? > Why would you "delete your account"? Do you not offer

Re: [Toybox] Toybox bc's transcendental and irrational functions produce incorrect results, memory leaks and exhibit brute force algorithmic complexity.

2018-08-28 Thread Zach van Rijn
On Tue, 2018-08-28 at 14:53 -0500, Sasha Toltec wrote: > I do type my signature out each time yes. > > I think what we have here is a classic case of cargo culting. > The nature of the errors indicates that your implementations > were copy pasted without any clue as to how they work. I'm not

Re: [Toybox] Toybox bc's transcendental and irrational functions produce incorrect results, memory leaks and exhibit brute force algorithmic complexity.

2018-08-28 Thread Sasha Toltec
I do type my signature out each time yes. I think what we have here is a classic case of cargo culting. The nature of the errors indicates that your implementations were copy pasted without any clue as to how they work. Otherwise, I am deleting this account. As it seems like you all aren't

Re: [Toybox] Toybox bc's transcendental and irrational functions produce incorrect results, memory leaks and exhibit brute force algorithmic complexity.

2018-08-28 Thread Zach van Rijn
On Tue, 2018-08-28 at 14:28 -0500, Sasha Toltec wrote: > I have no idea what you all are talking about. > ... > > Sasha Toltec > Toltec Enterprises > sahsatolt...@gmail.com ^ Do you normally mis-type your email address each time you write your emails? Standard email signatures are usually

Re: [Toybox] Toybox bc's transcendental and irrational functions produce incorrect results, memory leaks and exhibit brute force algorithmic complexity.

2018-08-28 Thread Sasha Toltec
I have no idea what you all are talking about. And no "19 digits of accuracy" is not enough for a multiple-precision mathematics implementation. I think the issue is just that you need to find a mathematician to work on the project instead of trying to busywork the problem type with patches.

Re: [Toybox] Toybox bc's transcendental and irrational functions produce incorrect results, memory leaks and exhibit brute force algorithmic complexity.

2018-08-28 Thread Rob Landley
On 08/28/2018 01:25 PM, Ivo van Poorten wrote: > If out-of-memory causes your whole system to crash, you have other > problems. Out of memory is bad, and the kernel guys keep fiddling with the OOM killer so it doesn't reliably trigger. (I had to power cycle my netbook over the weekend because it

Re: [Toybox] Toybox bc's transcendental and irrational functions produce incorrect results, memory leaks and exhibit brute force algorithmic complexity.

2018-08-28 Thread Ivo van Poorten
On Tue, 28 Aug 2018 00:35:38 -0500 Sasha Toltec wrote: > naive algorithm [...] > The only time subtractive chunking is used is by school children. [...] > You (both?) seem to have no idea how to force errors out of a badly > scaled irrational function so I supplied an example (though judging >

Re: [Toybox] Toybox bc's transcendental and irrational functions produce incorrect results, memory leaks and exhibit brute force algorithmic complexity.

2018-08-28 Thread Gavin Howard
Sasha, > Wait.. what? > > Am I really reading an email signed by two people? Yes; its a common format in professional writing. Not so common is the strong sarcasm and derision that you display in yours. > First off, you used subtractive chunking for division. Calling this a > naive algorithm is

Re: [Toybox] Toybox bc's transcendental and irrational functions produce incorrect results, memory leaks and exhibit brute force algorithmic complexity.

2018-08-28 Thread Rob Landley
On 08/28/2018 12:35 AM, Sasha Toltec wrote: > Wait.. what? Commands in pending/ default to "n" in defconfig. Some of them are nearly finished and just need more review, some are stubs that don't do anything useful, and some need complete rewrites. This is normal for toybox. > Am I really

Re: [Toybox] Valgrind errors with toybox bc

2018-08-28 Thread Zach van Rijn
On Tue, 2018-08-28 at 01:45 -0500, Sasha Toltec wrote: > Here are the valgrind errors that were requested. > Hi Sasha, Thank you for your prompt response. > The problem seems to be that if you don't understand what types of > numbers put stress on a bignum library, then it is >

[Toybox] Valgrind errors with toybox bc

2018-08-28 Thread Sasha Toltec
Here are the valgrind errors that were requested. The problem seems to be that if you don't understand what types of numbers put stress on a bignum library, then it is difficult/impossible to force the memory errors. If one of the senior programmers involved with toybox has time to take a look