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