Re: [Fwd: [PATCH] arithmetic -> logical shift]

2008-10-27 Thread Matthew Woehlke
Pádraig Brady wrote: Also arithmetic right shift is not useful. While SAR (shift arithmetic right) is technically redundant with IDIV (integer divide), it's important in C programming where it is often used as an optimized special case of the latter. While this may not be especially importan

Re: [Fwd: [PATCH] arithmetic -> logical shift]

2008-10-21 Thread Pádraig Brady
Chet Ramey wrote: > Pádraig Brady wrote: >> Original Message >> Date: Tue, 07 Oct 2008 11:55:51 +0100 >> From: Pádraig Brady <[EMAIL PROTECTED]> >> To: Chet Ramey <[EMAIL PROTECTED]> >> CC: [EMAIL PROTECTED] >> >> I was just discussing bit shifting with Tim Hockin using shell >> a

Re: [Fwd: [PATCH] arithmetic -> logical shift]

2008-10-18 Thread Chet Ramey
Pádraig Brady wrote: > Original Message > Date: Tue, 07 Oct 2008 11:55:51 +0100 > From: Pádraig Brady <[EMAIL PROTECTED]> > To: Chet Ramey <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > > I was just discussing bit shifting with Tim Hockin using shell > arithmetic expansion, and he

[Fwd: [PATCH] arithmetic -> logical shift]

2008-10-16 Thread Pádraig Brady
Original Message Date: Tue, 07 Oct 2008 11:55:51 +0100 From: Pádraig Brady <[EMAIL PROTECTED]> To: Chet Ramey <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] I was just discussing bit shifting with Tim Hockin using shell arithmetic expansion, and he pointed out that bash and ksh use a