On 2013/01/25 19:07:04, reed1 wrote: > Curious: do you find > > range = max ...
11 years, 10 months ago
(2013-01-25 19:17:08 UTC)
#3
On 2013/01/25 19:07:04, reed1 wrote:
> Curious: do you find
>
> range = max - min
> 0 == ~range
> % (range + 1)
>
> clearer to read than
>
> range = max - min + 1
> 0 == range
> % range
I dunno, doesn't really matter to me. I suppose the use of the word "range" in
the second version is more accurate.
Issue 7201058: Fix nextRangeU(0, MAX_UINT) div by zero.
(Closed)
Created 11 years, 10 months ago by bsalomon
Modified 11 years, 10 months ago
Reviewers: reed1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0