Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/locale

On Sun, 06 Jun 2010, Izumi Tsutsui wrote:
> If we need exact-width interger we should use uintNN_t
> but I don't think exact width is required in locale.

The [u]int_leastN_t types may be useful in this sort of code.  For
example, [u]int_least32_t is required to exist, and on a 36-bit machine
it would presumably be a 36-bit type; whereas [u]int32_t would not exist
on a 36-bit machine (because C99 requires the [u]intN_t types to have
exact sizes with no padding bits).

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index