John Randall wrote:
Tue May 29 02:18:36 HKT 2007
....
datatype 2^2
floating
The power operation seems always to use floats
Thankyou - now I understand.
Had I come up with the expression
goo=: 3 : 'assert. *./#:<:2#.y{.1'
instead of
foo=: 3 : 'assert. *./#:<:2^y'
then all would have been fine.
goo behaves as expected in the sense that 64 is the smallest argument
value that triggers the assertion..
Regards
David
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm