%: b.0
0 0 0

   %:"(0) -2
0j1.4142136


R.E. Boss


> -----Original Message-----
> From: Beta [mailto:[email protected]] On Behalf Of bill
> lam
> Sent: 2 November, 2016 15:26
> To: [email protected]
> Subject: Re: [Jbeta] Strange behavior for square root
> 
> I think this is a singleton special code bug.
>   %:-2 2
> 0j1.41421 0j1.41421
> 
> On Nov 2, 2016 10:14 PM, "Don Guinn" <[email protected]> wrote:
> 
> > Running a lab for fun and saw a strange behavior on a line:
> >
> >    %: -2  NB. Square root of a negative number is complex _.j_.
> >    %: _2  NB. Square root of a negative number is complex
> > 0j1.41421
> >
> > I reran the line changing the minus 2 to negative 2 and got the right
> > answer.
> >
> >    JVERSION
> > Engine: j805/j64/windows
> > Beta-12: commercial/2016-09-30T15:50:47
> > Library: 8.05.07
> > Qt IDE: 1.5.2s/5.6.2
> > Platform: Win 64
> > Installer: J805 install
> > InstallPath: c:/j64-805
> > Contact: www.jsoftware.com
> >
> > Tried it on Android and got the same result.
> > ----------------------------------------------------------------------
> > 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

Reply via email to