Countones - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

countones

count one bits in word
Synopsis
#include <math.h>
int countones(int parm)
int lcountones(long parm)
Description
This function counts the number of one bits in
Algorithm
=
j
N
1
return =
=
j
0
where
is the number of bits in
N
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
bit[j] of parm
parm
DSP Run-Time Library
.
parm
4-53

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents