Commit Graph

8 Commits

Author SHA1 Message Date
drochner 24ca0bcfa6 The last commit changed the behavious wrt sign extension.
Back it out and replace with LINTED comments.
1999-09-10 12:53:10 +00:00
christos 3314f1b0c5 Cast signed long shifts to unsigned long to avoid lint portability warnings.
The comment above the code mentions that it should work even on machines
that shift in zeroes.
1999-05-03 15:37:48 +00:00
mouse a9aceea509 Make shifting by 0 work even when shifting by 32 is equivalent to shifting
by 0.  Fixes lib/4845 (KNFification of the fix given therein).
1998-01-29 03:23:40 +00:00
christos 2531ab66a8 Fix RCSID's 1997-07-13 20:01:39 +00:00
jtc 8e1fdaa50e Don't special case shift counts > QUAD_BITS or == 0. The former is
undefined behavior (so we can do whatever we want) while the latter
doesn't happen much in actual practice.

These changes make these functions considerably smaller and faster.
1996-06-01 21:21:50 +00:00
cgd d48964d413 clean up Ids; no substantive changes. 1995-02-27 17:29:31 +00:00
cgd edfa833652 from Lite 1995-02-27 17:00:21 +00:00
mycroft 49e0bc5446 Torek's quad stuff from 4.4. 1993-09-16 06:05:46 +00:00