Lines Matching refs:PARTNUM
719 #define PARTNUM 10 /* used to determine even distribution of random numbers */ macro
746 long cntarr[PARTNUM];
747 long valbound[PARTNUM];
748 long long lvalbound[PARTNUM];
750 for (ind = 0; ind < PARTNUM; ind++)
773 part = lmax / PARTNUM;
774 for (ind = 0; ind < PARTNUM; ind++) {
786 for (ind = 0; ind < PARTNUM - 1; ind++) {
793 if (lret > valbound[PARTNUM - 1]) {
794 cntarr[PARTNUM - 1]++;
797 for (ind = 0; ind < PARTNUM - 1; ind++) {
802 printf("%2d %-13ld to %-13ld %5ld %4.4f\n", PARTNUM,
803 valbound[PARTNUM - 1], lmax, cntarr[PARTNUM - 1],
804 (float)(cntarr[PARTNUM - 1] / (float)iter));
812 lpart = llmax / PARTNUM;
813 for (ind = 0; ind < PARTNUM; ind++) {
826 for (ind = 0; ind < PARTNUM - 1; ind++) {
833 if (llret > lvalbound[PARTNUM - 1]) {
834 cntarr[PARTNUM - 1]++;
837 for (ind = 0; ind < PARTNUM - 1; ind++) {
842 printf("%2d %-13lld to %-13lld %5ld %4.4f\n", PARTNUM,
843 lvalbound[PARTNUM - 1], llmax, cntarr[PARTNUM - 1],
844 (float)(cntarr[PARTNUM - 1] / (float)iter));
852 part = imax / PARTNUM;
853 for (ind = 0; ind < PARTNUM; ind++) {
866 for (ind = 0; ind < PARTNUM - 1; ind++) {
873 if (lret > valbound[PARTNUM - 1]) {
874 cntarr[PARTNUM - 1]++;
877 for (ind = 0; ind < PARTNUM - 1; ind++) {
882 printf("%2d %-13ld to %-13ld %5ld %4.4f\n", PARTNUM,
883 valbound[PARTNUM - 1], (long)imax, cntarr[PARTNUM - 1],
884 (float)(cntarr[PARTNUM - 1] / (float)iter));