@c "fn/ffs.texi"
@c extracted from "../../lib/libchpfn/bitmanip.cc"
@c by "$(top_srcdir)/scripts/extract_texinfo.awk".

@deffn Function ffs int
Returns the 1-indexed position of the first set bit in the 
binary representation of @var{int}.  
Position is counted from the least significant bits.  
Returns 0 if @var{int} is 0.  
@end deffn

