예제 #1
0
        public int CbitLowZero()
        {
            if (this._iuLast == 0)
            {
                if (((this._uSmall & 1) == 0) && (this._uSmall != 0))
                {
                    return(NumericsHelpers.CbitLowZero(this._uSmall));
                }
                return(0);
            }
            int index = 0;

            while (this._rgu[index] == 0)
            {
                index++;
            }
            return(NumericsHelpers.CbitLowZero(this._rgu[index]) + (index * 0x20));
        }
예제 #2
0
        public int CbitLowZero()
        {
            if (_iuLast == 0)
            {
                if ((_uSmall & 1) != 0 || _uSmall == 0)
                {
                    return(0);
                }
                return(NumericsHelpers.CbitLowZero(_uSmall));
            }

            int iuMin = 0;

            while (_rgu[iuMin] == 0)
            {
                iuMin++;
            }
            int cbit = NumericsHelpers.CbitLowZero(_rgu[iuMin]);

            return(cbit + iuMin * kcbitUint);
        }