
        </p>
        <p>
        </p>
        <pre class="programlisting">    bool any(bvec x)       // bvec can be bvec2, bvec3 or bvec4
    {
        bool result = false;
        int i;
        for (i = 0; i &lt; x.length(); ++i)
        {
            result |= x[i];
        }
        return result;
    }</pre>
        <p>
        </p>
      </div>
      {$pipelinestall}{$examples}
      <div class="refsect1" id="versions">
        <h2>Version Support</h2>
        <div class="informaltable">
          <t