I have made a change to the page noting that the Kahan summation feature
was added in J9.03.

Imre - this thread relates to the current beta version of J. My expectation
is that there will be bugs and that this is our opportunity to help the
team iron them out before release.
If you have come across other examples that appear to no longer work, I'm
sure we'd all love to hear about them.

I imagine it would keep things cleaner if we could all remember to post
info about potential bugs in the beta version of J to the Beta forum:
[email protected]
Thanks,

On Tue, Jun 15, 2021 at 11:48 AM Henry Rich <[email protected]> wrote:

> Kahan summation is a 9.03 feature,
>
> Henry Rich
>
> On 6/14/2021 7:46 PM, Imre Patyi wrote:
> > There seem to be many J examples that no longer work.
> > The second page on NuVoc about Kahan type of summation
> > does not work either.
> >
> > https://code.jsoftware.com/wiki/Vocabulary/AccurateAccumulation
> >
> > It has a timestamp from 2021.
> >
> > 0j20 ": (+/!.0) 1e7 # 10000000000.1
> >
> > |domain error
> >
> > | 0j20":(+/ !.0)10000000#1e10
> >
> > |[-0]
> >
> >
> > 1e6 1e_6 0 1e6 (+/@:*"1!.0) 1e6 1e_6 0 _1e6
> >
> > |domain error
> >
> > | 1e6 1e_6 0 1e6(+/@:*"1 !.0)1e6 1e_6 0 _1e6
> >
> >
> > (J902, Windows 10)
> >
> >
> > Maybe, some of these special forms are retired and
> >
> > some others are simply mangled.
> >
> >
> > Your page's examples do not work even in J805.
> >
> >
> > All the best,
> >
> > Imre Patyi
> >
> >
> >
> > On Mon, Jun 14, 2021 at 12:53 PM Lorenz Köhl <[email protected]>
> wrote:
> >
> >> I was running the some examples from
> >>
> >>
> >>
> >>
> https://web.archive.org/web/20150103031253/http://www.jsoftware.com/help/release/midot.htm
> >>
> >>
> >> x9=: 1e6 ?@$ 2e9
> >>
> >> y9=: 1e5 ?@$ 2e9
> >>
> >> f9=: x9&i.;
> >>
> >>
> >> |out of memory: f9
> >>
> >> | f9 y9
> >>
> >>
> >> The process does not show a spike in memory allocated in task manager.
> >>
> >> Maybe this is related? I do have enough memory.
> >>
> >> Same error in 9.02
> >>
> >>
> >> JVERSION
> >>
> >> Engine: j903/j64avx2/windows
> >>
> >> Beta-k: commercial/2021-05-30T16:16:44
> >>
> >> Library: 9.03.05
> >>
> >> Qt IDE: 1.9.2/5.15.2(5.15.2)
> >>
> >> Platform: Win 64
> >>
> >>
> >>
> >> On Wed, May 12, 2021 at 6:11 AM Henry Rich <[email protected]>
> wrote:
> >>
> >>> I can reproduce this.  But I am in the middle of a massive change to
> the
> >>> code, so it will be a while before I fix it.
> >>>
> >>> Henry Rich
> >>>
> >>> On 5/11/2021 11:58 PM, Julian Fondren wrote:
> >>>> I get the same error as David Lambert with an undefined a
> >>>>
> >>>>      names''
> >>>>
> >>>>      a
> >>>> |value error: a
> >>>>
> >>>>      a : 0
> >>>> |out of memory
> >>>> |   a     :0
> >>>>
> >>>>      1e100 $ 'a'
> >>>> |domain error
> >>>> |   1e100    $'a'
> >>>>
> >>>> is it possible that the error messages are swapped?
> >>>>
> >>>>      JVERSION
> >>>> Engine: j903/j64avx2/linux
> >>>> Beta-i: commercial/2021-04-30T12:06:24
> >>>> Library: 9.03.03
> >>>> Platform: Linux 64
> >>>> Installer: J903 install
> >>>>
> >>>>      (9!:8'') i. 'domain error';'out of memory'
> >>>> 2 21
> >>>>
> >>>>      1e100$'a'
> >>>> |domain error
> >>>> |   1e100    $'a'
> >>>>      13!:11''
> >>>> 3
> >>>>
> >>>>      a : 0
> >>>> |out of memory
> >>>> |   a     :0
> >>>>      13!:11''
> >>>> 22
> >>>>
> >>>>
> >>>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> >>>> On Tuesday, May 11, 2021 10:51 PM, Henry Rich <[email protected]>
> >>> wrote:
> >>>>> u v x y m n are arguments, and they are special in that they are
> >> always
> >>>>> stacked by value, not by name. That's why Joey gets the results he
> >> does:
> >>>>> u : 0 requires u to exist, and thus gives value error; while a : 0
> >>>>> treats a as an undefined name, and proceeds to evaluate (undefverb :
> >>>>> noun) which is a domain error because (verb : noun) is illegal.
> >>>>>
> >>>>> The question is, What was David Lambert's a?
> >>>>>
> >>>>> Henry Rich
> >>>>>
> >>>>> On 5/11/2021 11:27 PM, Joey K Tuttle wrote:
> >>>>>
> >>>>>>         u :0
> >>>>>>
> >>>>>>
> >>>>>> |value error
> >>>>>> | u :0
> >>>>>>
> >>>>>>       a :0
> >>>>>>
> >>>>>>
> >>>>>> |domain error
> >>>>>> | a :0
> >>>>>>
> >>>>>>       JVERSION
> >>>>>>
> >>>>>>
> >>>>>> Engine: j903/j64avx2/darwin
> >>>>>> Beta-i: commercial/2021-04-30T12:15:29
> >>>>>> Library: 9.03.03
> >>>>>> Platform: Darwin 64
> >>>>>> Installer: J903 install
> >>>>>> InstallPath: /applications/j903
> >>>>>> Contact: www.jsoftware.com
> >>>>>>
> >>>>>>> On 2021May 11, at 18:56, David Lambert [email protected] wrote:
> >>>>>>>
> >>>>>>>       u :0
> >>>>>>>
> >>>>>>>
> >>>>>>> |value error
> >>>>>>> | u :0
> >>>>>>>
> >>>>>>>       a :0
> >>>>>>>
> >>>>>>>
> >>>>>>> |out of memory
> >>>>>>> | a :0
> >>>>>>>
> >>>>>>>       JVERSION
> >>>>>>>
> >>>>>>>
> >>>>>>> Engine: j903/j64avx2/linux
> >>>>>>> Beta-i: commercial/2021-04-30T12:06:24
> >>>>>>> Library: 9.03.03
> >>>>>>> Platform: Linux 64
> >>>>>>> Installer: J903 install
> >>>>>>> InstallPath: /home/lambertdw/downloads/installs/j903
> >>>>>>> Contact: www.jsoftware.com
> >>>>>>>
> >>>>>>>       NB. discovered with poor spelling conjuction
> >>>>>>>
> >>>>>>>
> >>>>>>> For information about J forums see
> >>> http://www.jsoftware.com/forums.htm
> >>>>>> For information about J forums see
> >> http://www.jsoftware.com/forums.htm
> >>>>> --
> >>>>>
> >>>>> This email has been checked for viruses by AVG.
> >>>>> https://www.avg.com
> >>>>>
> >>>>> --------------------------------------------------------------------
> >>>>>
> >>>>> For information about J forums see
> >> http://www.jsoftware.com/forums.htm
> >>>> ----------------------------------------------------------------------
> >>>> For information about J forums see
> http://www.jsoftware.com/forums.htm
> >>>
> >>> --
> >>> This email has been checked for viruses by AVG.
> >>> https://www.avg.com
> >>>
> >>> ----------------------------------------------------------------------
> >>> For information about J forums see http://www.jsoftware.com/forums.htm
> >>>
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to