m0mchil/poclbm — pull request #73 by luke-jr (2013-04-28 22:59:29+00:00)
Title: Bugfix: Cap stratum target at pdiff 1 to avoid overflow issues

The rest of the code chops off the first 32 bits of the target, resulting in bdiff 0.9999847412109375 (approximately pdiff 1) being treated as the impractical zero target.
Limiting the maximum target to pdiff1 fixes this.