You are correct Sanjaya, the calculation of signum should be:
1-2*(n_neg mod 2) as signum,
John
Attachments
Library
Quick Reference
Archives
Sample Index
2004 Indexes