Here's a session log:

   nz =.  0 % _1  NB. negative zero
   3!:3 nz
e1000000
08000000
01000000
00000000
00000000
00000080
   ''&mysteryprimitive nz
0
   3!:3 nz
e1000000
08000000
01000000
00000000
00000000
00000000


Look! the dyad mysteryprimitive cleaned up the negative zero
to make it a nice shiny positive zero.  No assignments are performed.

What is the mysteryprimitive?  (There are several possible answers).

Why does it polish zeros?

Henry Rich

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

Reply via email to