Which of the following most closely matches the functionality provided by the VI?
a) The VI adds the value of Numeric Value In to Numeric Value Out
b) The VI calculates the number of binary BITs in Numeric Value In
c) The VI passes the value of Numeric Value In to Numeric Value Out
d) The VI returns the number of binary '1's in a binary representation of Numeric Value In
Bonus question: How about this one? (Slightly modified from a subVI of my 4x4 tic tac toe example)
(For integers with fewer bits (e.g. U8) I would probably use a lookup table if performance is important).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.