Daylight v4.9
Release Date: 1 February 2008

Name

dt_fp_bitcount - count the number of set bits in a fingerprint

Generic Prototype

dt_fp_bitcount(dt_Handle) => dt_Integer

C Prototype

#include "dt_finger.h"

dt_Integer dt_fp_bitcount(dt_Handle fingerprint)

FORTRAN Prototype

include 'dt_f_finger.inc'

integer*4 dt_f_fp_bitcount(fingerprint)

integer*4 fingerprint

Description

Returns the number of bits set (1's) in the fingerprint.

Return Value

Returns an integer number of bits set in the fingerprint. For all other objects, this property is defined as -1.

Related Topics

dt_fp_allocfp(3) dt_fp_bitvalue(3) dt_fp_commonbitcount(3) dt_fp_euclid(3) dt_fp_fingertest(3) dt_fp_foldfp(3) dt_fp_generatefp(3) dt_fp_nbits(3) dt_fp_obitcount(3) dt_fp_obits(3) dt_fp_range(3) dt_fp_setbitvalue(3) dt_fp_setobitcount(3) dt_fp_setobits(3) dt_fp_setrange(3) dt_fp_tanimoto(3)