Here's a rudimentary test script.

test=: -:!.0&". pc_rdm3  NB. change to pc_XXXn as appropriate

test '2.3e2 2.3e_2 2j3'
test '2p1 1p_1'
test '1x2 2x1 1x_1'
test '2e2j_2e2 2e2j2p1 2ad45 2ar0.785398'
test '16b1f 10b23 _10b23 1e2b23 2b111.111'
test '2p_2 2x_2'
test '2r3 3r4'
test '123456789012345678901234567890x'

Can anyone think of anything else that should be tested?

Thanks,

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

Reply via email to