in the example for \pgfmathor in section 89.3.5 on page 935 it is used the and function instead of the or function.
\pgfmathor
and
or