pith. sign in

arxiv: 1511.05210 · v2 · pith:OHS7EAIPnew · submitted 2015-11-16 · 💻 cs.CC

Counting Ones Without Broadword Operations

classification 💻 cs.CC
keywords onesoperationsavailableboundcountingnumberalmostassignment
0
0 comments X
read the original abstract

A lower time bound $\Omega(\min(\nu(x), n-\nu(x))$ for counting the number of ones in a binary input word $x$ of length $n$ is presented, where $\nu(x)$ is the number of ones. The operations available are increment, decrement, bit-wise logical operations, and assignment. The only constant available is zero. An almost matching upper bound is also obtained.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.