This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [wide-int] i am concerned about the typedef for widest-int.


Kenneth Zadeck <zadeck@naturalbridge.com> writes:
> see wide-int.h around line 290
>
> the MAX_BITSIZE_MODE_ANY_INT is the largest mode on the machine. however 
> if the value coming in is an unsigned number of the type the represents 
> that mode, don't we loose a bit?

That was the +1 mentioned here:

   http://gcc.gnu.org/ml/gcc-patches/2013-11/msg03745.html

I.e. it should be "widest supported arithmetic input + 1".

Thanks,
Richard


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