On Mon, Jan 10, 2011 at 2:40 PM, Thomas Costigliola <[email protected]> wrote: > On Mon, Jan 10, 2011 at 2:25 PM, Tikkanz <[email protected]> wrote: >> Seems to work OK for me. Maybe it is architecture/processor dependent? > > 64 Bit Platforms are only affected for boolean arguments:
In light of Roger's reply I guess this should be: "64 Bit Platforms are ALSO affected for boolean arguments" > > NB. On J64-701 Windows > > 1 0 2 (+/@:*) (3 2 $ 3 1 2 1 1 0) > 5 1 NB. Correct > > 1 0 1 (+/@:*) (3 2 $ 1 1 1 1 1 0) > 2 2 NB. Incorrect > > >> >> JVERSION >> Engine: j701/2011-01-07/14:33 >> Library: 7.01.030 >> Platform: Linux 64 >> Installer: j701a_linux64.sh >> InstallPath: /usr/local/lib/j64_701 >> >> 1 0 2 +/ @: * (3 2 $ 3 1 2 1 1 0) >> 5 1 >> >> >> On Tue, Jan 11, 2011 at 6:10 AM, June Kim (김창준) <[email protected]> wrote: >>> Uh-oh. I've been doing financial calculations with J and the following (old) >>> bug report is an alarm for me. Have to look at my codes again. >>> >>> What is the minimal condition for the bug? >>> >>> On Mon, Jan 10, 2011 at 7:02 PM, Roger Stokes < >>> [email protected]> wrote: >>> >>>> Still got this old bug in j701: >>>> >>>> JVERSION >>>> Engine: j701/2011-01-07/14:33 >>>> Library: 7.01.030 >>>> Platform: Win 32 >>>> Installer: j701a_win.exe >>>> InstallPath: c:/users/homer/j701 >>>> >>>> 1 0 2 +/ @: * (3 2 $ 3 1 2 1 1 0) >>>> 7 3 >>>> >>>> NB. The result 7 3 is wrong. >>>> NB. The correct result is 5 1, shown by replacing + >>>> NB. with an equivalent verb, say +"0 . >>>> >>>> 1 0 2 +"0 / @: * (3 2 $ 3 1 2 1 1 0) >>>> 5 1 >>>> >>>> NB. This has been mentioned before, firstly >>>> NB. by Patrick Van Beek on 14 6 2008. >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
