pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


spread test
Posted by Anonymous on Tue 28th Jan 2020 08:26
raw | new post

  1. # spread test, ksh style
  2. compound c;
  3.  
  4. integer -a c.ar
  5.  
  6. integer i z
  7.  
  8. for (( i=0 ; i < 65536 ; i++ )) ; do
  9.         (( z=i , (z%3==0) && c.ar[((z >> 4)&0x0F)*3][(z&0x0F)*7]++ ))
  10. done
  11.  
  12. print -v c
  13. # EOF.

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at