1 2 3 4 5 6 7 8 9
/* ISC license. */ #include <skalibs/biguint.h> unsigned int bu_len (uint32_t const *a, unsigned int n) { while (n--) if (a[n]) return n+1 ; return 0 ; }