This is the mail archive of the gcc@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]

Re: portable signed right shift


On Thu, Mar 29, 2001 at 12:31:43PM +1000, Fergus Henderson wrote:
> 
> Do you know of any C89 implementations for which integer division does not
> truncate towards zero?

I ran into one many, many, many years ago, but unfortunately can't
recall which compiler it was.  Ultrix, perhaps.

They exist, but they are very, very rare.


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