Re: [Jprogramming] Error in addons/math/misc/fermat.ijs

2021-02-05 Thread 'Mike Day' via Programming
Yes, of course it was x. ! M Sent from my iPad > On 5 Feb 2021, at 02:17, chris burke wrote: > > Thanks, fixed now. > > The code dates from the time when x. was the left argument. > > On Thu, Feb 4, 2021 at 4:00 PM 'Michael Day' via Programming > wrote: >> >> Having a look at the scripts i

Re: [Jprogramming] Error in addons/math/misc/fermat.ijs

2021-02-04 Thread chris burke
Thanks, fixed now. The code dates from the time when x. was the left argument. On Thu, Feb 4, 2021 at 4:00 PM 'Michael Day' via Programming wrote: > > Having a look at the scripts in ~addons/math/misc, I've just noticed a > slip in > fermat.ijs - I doubt if it's used much, though, which is pr

[Jprogramming] Error in addons/math/misc/fermat.ijs

2021-02-04 Thread 'Michael Day' via Programming
Having a look at the scripts in ~addons/math/misc,  I've just noticed a slip in fermat.ijs - I doubt if it's used much,  though,  which is probably why it hasn't been reported.  Its fellow script,  pollard.ijs,  has a greatly superior factoring algorithm or two. The optional left argument of t