It's not clear which behavior he would want here:

   isReal=: 0 *./ .= [: {:"1@:+. ,
   real=:(]-:+) :: 0:

   (isReal,real) 1j1e_14
0 1

On Fri, Oct 8, 2010 at 5:53 PM, Don Guinn <dongu...@gmail.com> wrote:

> I like:
>
> real=:(]-:+) :: 0:
>
>
-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to