ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/libecb/ecb.pod
(Generate patch)

Comparing cvsroot/libecb/ecb.pod (file contents):
Revision 1.27 by root, Wed Jun 1 01:29:36 2011 UTC vs.
Revision 1.28 by root, Fri Jun 10 11:51:03 2011 UTC

452negatable, that is, both C<m> and C<-m> must be representable in its 452negatable, that is, both C<m> and C<-m> must be representable in its
453type (this typically includes the minimum signed integer value, the same 453type (this typically includes the minimum signed integer value, the same
454limitation as for C</> and C<%> in C). 454limitation as for C</> and C<%> in C).
455 455
456Current GCC versions compile this into an efficient branchless sequence on 456Current GCC versions compile this into an efficient branchless sequence on
457many systems. 457almost all CPUs.
458 458
459For example, when you want to rotate forward through the members of an 459For example, when you want to rotate forward through the members of an
460array for increasing C<m> (which might be negative), then you should use 460array for increasing C<m> (which might be negative), then you should use
461C<ecb_mod>, as the C<%> operator might give either negative results, or 461C<ecb_mod>, as the C<%> operator might give either negative results, or
462change direction for negative values: 462change direction for negative values:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines