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

Reply via email to