On Wed, 23 Oct 2013, Richard Sandiford wrote:

> Mike Stump <mikest...@comcast.net> writes:
> > On Oct 23, 2013, at 5:00 AM, Richard Sandiford
> > <rsand...@linux.vnet.ibm.com> wrote:
> >> offset_int, max_int, wi::to_offset and wi::to_max sound OK to me.
> >> Kenny?  Mike?
> >
> > Those two names seem reasonable.  to_offset should document that these
> > are for address offsets (and address constants) exclusively.
> 
> Reading this back, I realise "max_int" might sound too similar to INT_MAX.
> Maybe we could follow the current HOST_* stuff and use: offset_int, 
> widest_int,
> wi::to_offset and wi::to_widest.
> 
> Bah.  I'm no good at naming stuff...

Nobody is ... but yes, offset_int and widest_int and wi::to_offset
and wi::to_widest sounds good to me - both short and descriptive.

Richard.

Reply via email to