From: Jarkko Hietaniemi Date: Thu, 19 Aug 1999 15:55:09 +0000 (+0000) Subject: Don't document ill-defined vec() bits cases X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0a1cd6876ba3626bc024955a009f06feab677d27;p=p5sagit%2Fp5-mst-13.2.git Don't document ill-defined vec() bits cases (for which the code doesn't work right in any case) p4raw-id: //depot/cfgperl@4005 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index fe1c2b0..49e654a 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1521,8 +1521,8 @@ before the illegal character. =item Illegal number of bits in vec -(F) The number of bits in vec() (the third argument) must be from 1 to 8 -(inclusive), or 16, or 32. +(F) The number of bits in vec() (the third argument) must be a power of +two from 1 to 32. =item Illegal switch in PERL5OPT: %s diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index f4e3709..0e4b7c7 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4990,7 +4990,7 @@ See also C, C, and C. Treats the string in EXPR as a vector of unsigned integers, and returns the value of the bit field specified by OFFSET. BITS specifies the number of bits that are reserved for each entry in the -bit vector. This must be between 1 and 8 (inclusive), or 16, or 32. +bit vector. This must be a power of two from 1 to 32. C may also be assigned to, in which case parentheses are needed to give the expression the correct precedence as in