Sujet : Re: myrkraverk.c
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.python comp.lang.c sci.mathSuivi-à : comp.lang.python comp.lang.cDate : 20. Sep 2026, 13:25:03
Autres entêtes
Organisation : Stefan Ram
Message-ID : <bits-20260920132258@ram.dialup.fu-berlin.de>
References : 1 2 3 4 5 6 7
"Johann \"Myrkraverk\" Oskarsson" <
johann@myrkraverk.invalid> wrote or quoted:
_BitScanForward( &index, *digits ) ;
From the documentation:
|If no bit is found, the function returns 0 and the value
|written to the address in the first parameter is undefined.
. However, if there are 32 0s before a 1 is found, this
might be intended to add "32" to the total zero count.
(GCC's and Clang's "__builtin_ctz" can also count bits and
might be more portable.)
Newsgroups: comp.lang.python,comp.lang.c,sci.math
Followup-To: comp.lang.python,comp.lang.c
Haut de la page
Les messages affichés proviennent d'usenet.
NewsPortal