(+ *:) ^:20~1j1
|NaN error
|       (+*:)^:20~1j1
   (+ *:) ^:20~2
_


I think that earlier versions of J returned infinity on overflow instead of 
NaN. Current version of J retained that convention only for real numbers and 
returns NaN on complex overflows.

This is even more surprising since there seems to be "complex infinity" which 
apparently goes unutilized:

   (+ *:) :: _: ^:20~1j1
_j_

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

Reply via email to