Subject: Re: timeout issue in scsi drivers: mstohz()
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.ORG>
From: David Laight <firstname.lastname@example.org>
Date: 04/05/2002 22:52:28
On Fri, Apr 05, 2002 at 02:44:53PM -0500, Greg A. Woods wrote:
> and IIRC they are
> never supposed to become signed if any term is unsigned either.
not true, A6.1 in K&R 2, 'If int can represent all the values of
the original type, then the value is converted to int; otherwise
the value is converted to unsigned int.'
It seems that only [unsigned] char | short are second class
citizens when it comes to arithmetic...
(probably useful for those architectures that can't do 8 and
16 bit sums)
David Laight: email@example.com