I checked the j7 source, it seems that all verbs except ! do not check if arguments are NaN or not, it depends on C lib or fpu to decide if it should signal NaN error. eg. on linux, or andriod, both of thr following will signal error.
_. % 0 _. % _. while on iPhone, the second one will signal NaN error. On Jan 2, 2014 1:05 AM, "Henry Rich" <[email protected]> wrote: > Should be _. I think. NaN error seems to be raised when creating a new > NaN, not when processing an old one. > > I think it should not depend on the C compiler. > > > My vote, > > Henry Rich > > On 1/1/2014 11:52 AM, bill lam wrote: > >> While I ran the test suite, I found that, >> >> on linux debian jessie (gcc,amd64) >> _. ! _. >> _. >> >> on jqt/android 2.3.3 and 4.0 (ndk,armv6) >> _. ! _. >> _. >> >> on iPhone 3GS iOS 5 (clang,armv6?) >> _. ! _. >> |NaN error >> | _. !_. >> >> >> Which should be correct? Or it can depend on C compiler? >> >> ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
