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.29 by root, Fri Jun 10 12:20:14 2011 UTC vs.
Revision 1.30 by root, Sat Jun 11 17:30:32 2011 UTC

463C<ecb_mod> implements the mathematical modulo operation, which is missing 463C<ecb_mod> implements the mathematical modulo operation, which is missing
464in the language. 464in the language.
465 465
466C<n> must be strictly positive (i.e. C<< >= 1 >>), while C<m> must be 466C<n> must be strictly positive (i.e. C<< >= 1 >>), while C<m> must be
467negatable, that is, both C<m> and C<-m> must be representable in its 467negatable, that is, both C<m> and C<-m> must be representable in its
468type (this typically includes the minimum signed integer value, the same 468type (this typically excludes the minimum signed integer value, the same
469limitation as for C</> and C<%> in C). 469limitation as for C</> and C<%> in C).
470 470
471Current GCC versions compile this into an efficient branchless sequence on 471Current GCC versions compile this into an efficient branchless sequence on
472almost all CPUs. 472almost all CPUs.
473 473

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines