On 4/10/07, bill lam <[EMAIL PROTECTED]> wrote:
With respect to J's IEEE double, how to get the numbers that
a. just larger than 0 (smallest positive number)
b. just smaller than 1
c. largest positive number
Well, you could pass a hexadecimal representation of each to 3!;2,
but that's no fun.
Perhaps:
unq=:~.!.0
a=: _2{-:^:a: 1
b=:_2{unq]1--:^:a: 1
c=:_2{unq+/\}.|.+:^:a:1
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm