This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] change specific int128 -> generic intN


> Assuming that the formula sizeof(type)*char_bit==precision works for all 

It doesn't.  THe MSP430 has __int20 for example.

Would it be acceptable for the compiler to always define a set of
macros for each of the intN types?  I would have thought that would be
discouraged, but it would be an easier way to handle it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]