Match also produces this effect.
I cannot make an interesting guess as to why this
comparative has this side-effect.
Tracy
session log --->
3!:3 nz
08000000
00000000
01000000
00000000
00000000
00000080
''&-: nz
0
3!:3 nz
08000000
00000000
01000000
00000000
00000000
00000000
>
> 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
>
___________________________________________________________________________________
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm