Re: longs where uint64s could be

2020-01-19 Thread David Fetter
On Fri, Jan 17, 2020 at 05:12:20PM -0800, Peter Geoghegan wrote: > On Fri, Jan 17, 2020 at 4:42 PM David Fetter wrote: > > While going over places where I might use compiler intrinsics for > > things like ceil(log2(n))) and next power of 2(n), I noticed that a > > lot of things that can't be fract

Re: longs where uint64s could be

2020-01-17 Thread Peter Geoghegan
On Fri, Jan 17, 2020 at 4:42 PM David Fetter wrote: > While going over places where I might use compiler intrinsics for > things like ceil(log2(n))) and next power of 2(n), I noticed that a > lot of things that can't be fractional are longs instead of, say, > uint64s. Is this the case for historic

longs where uint64s could be

2020-01-17 Thread David Fetter
Folks, While going over places where I might use compiler intrinsics for things like ceil(log2(n))) and next power of 2(n), I noticed that a lot of things that can't be fractional are longs instead of, say, uint64s. Is this the case for historical reasons, or is there some more specific utility to