[PING] Re: Where to put ALIGN_UP and ALIGN_DOWN macros?
Ondřej Bílka
neleai@seznam.cz
Mon Feb 18 16:01:00 GMT 2013
I encountered situation where align_up/down would be handly.
What is status?
On Sun, Sep 16, 2012 at 02:38:57PM -0400, Carlos O'Donell wrote:
>
> While working on BZ#11787, and dealing with the stack allocation I've
> written ALIGN_DOWN and ALIGN_UP macros. I'd like to start using those
> throughout the code when we need to align values in C. The macros
> avoid the inconsistency we have in rounding code as I documented here:
> http://sources.redhat.com/ml/libc-alpha/2012-04/msg00006.html
>
> If we accept their use and inclusion, where should we put them?
>
> New header specific to alignment macros?
>
> Repurpose another header like libc-internal?
>
> Cheers,
> Carlos.
More information about the Libc-alpha
mailing list