Documentation of binary | and & operators #15633
Created by @epa
The documentation for & in perlfunc states that
Binary "&" returns its operands ANDed together bit by bit.
Implicit in this is that both operands are always evaluated, even if
Further, can perl guarantee that on all platforms
0 & 0 == 0
0 | 0 == 0
0 ^ 0 == 0
You can imagine some funky processor where the integer 0 has a bit
Ed Avis wrote:
Should the documentation for infix * also clarify that 0*$a doesn't
Yes, that is guaranteed.
The C language standard requires that the representations of unsigned
It is conceivable for a platform to use a different numeric representation