Fixed for the next release.  Thank you for finding and reporting this error.



----- Original Message -----
From: Ian Shannon <[email protected]>
Date: Wednesday, February 10, 2010 22:35
Subject: [Jgeneral] Bond to vector of infinity
To: "[email protected]" <[email protected]>

> 
> Hi there,
> 
> Notification of a interpreter error.  The error is 
> something like:
> If a vector to be bonded (on either left or right) includes 
> infinity (+ and/or -) and is longer than 7 items then 
> interpreter returns NaN error.
> 
> However if vector is longer than 7 items the interpreter 
> (cleverly) can sometimes optimise.
> Eg   0 _ _ _ _ _ _ _ _ _   becomes  
> (_*i.10) and error does not occur.
> 
> 
> 
> J602  on win XP SP2.
> 
> 
> =========
> NB. Display of interpreter error
>   9!:12 ''
> 6
>   9!:14 ''
> j602/2008-03-03/16:45
>    ,&_ _ _ _ _ _
> ┌─┬─┬───────────┐
> │,│&│_ _ _ _ _ _│
> └─┴─┴───────────┘
>    ,& _ _ _ _ _ _ _
> ┌─┬─┬─────────────┐
> │,│&│_ _ _ _ _ _ _│
> └─┴─┴─────────────┘
>    ,& _ _ _ _ _ _ _ _
> |NaN error
>    ,& __ __ __ __ __ __ __
> ┌─┬─┬────────────────────┐
> │,│&│__ __ __ __ __ __ __│
> └─┴─┴────────────────────┘
>    ,& __ __ __ __ __ __ __ __
> |NaN error
>    ,& 0 __ __ __ __ __ __ __ __
> ┌─┬─┬─────────────────────────┐
> │,│&│0 __ __ __ __ __ __ __ __│
> └─┴─┴─────────────────────────┘
>    ,& 0 __ __ __ __ __ __ __ __ 0
> ┌─┬─┬───────────────────────────┐
> │,│&│0 __ __ __ __ __ __ __ __ 0│
> └─┴─┴───────────────────────────┘
>    ,&  __ __ __ __ 0 0 0 0
> |NaN error
>    ,&  __ __ __ 0 0 0 0
> ┌─┬─┬────────────────┐
> │,│&│__ __ __ 0 0 0 0│
> └─┴─┴────────────────┘
> 
> 
> 7 appears to be the magic number for the length of the constant 
> vector to bond.
> 
> The error also occurs when bonding with other functions (on both 
> left and right).
> 
> 
> Note I cannot use the wiki
> http://www.jsoftware.com/jwiki/System/Interpreter/Bugs
> 
> as it won't let me reset the password - it says that recovery 
> token (copied out of return email) is invalid.  Please let 
> me know how to get into the system.
> 
> 
> Ian
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to