Roger Hui wrote:
> There is something wrong.
>    (, porpp) 4 p: 2^55x
> 36028797018963971 36028797018963968

Thanks for catching that.

Turns out I expected to be able to represent the argument
as a floating point number.

This works around that mistake:

popp=: (close 1,nearp,([EMAIL PROTECTED] [EMAIL PROTECTED]) ^&x: powrs)"0

-- 
Raul

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to