But note that the input argument must still be entered with an 'x'
What I do not know (and I suspect cannot exist) is a way to tell J that the
argument has been, by implication, entered with an 'x'. EXTENDED fails for
really large arguments unless you add the 'x'. in which case nothing is
gained.
RGS
On Thu, 6 Dec 2007, Raul Miller wrote:
On Dec 6, 2007 3:55 PM, Ralph G Selfridge <[EMAIL PROTECTED]> wrote:
I'm not sure how to modify cu so that J recognizes the argument must be
extended precision.
3!:0]1.1
8
3!:0]1x
64
EXTENDED=: [ [: assert 64 = 3!:0
EXTENDED 3 4 5x
3 4 5
EXTENDED 3.1415
|assertion failure: assert
| EXTENDED 3.1415
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm