diff options
author | lloyd <[email protected]> | 2012-08-01 14:23:20 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-08-01 14:23:20 +0000 |
commit | d23dffe70d1f0b2ef6bd18d1c490fff52b8b401c (patch) | |
tree | 2bfc055ea7edbcc023e996121d29526d961dd980 /src/math/numbertheory/numthry.h | |
parent | 3f7b562cd6a51cd796f3cb1c0151c45f2b24e2b0 (diff) |
Remove BigInt::operator[]. Use BigInt::word_at, which checks sizes
Diffstat (limited to 'src/math/numbertheory/numthry.h')
-rw-r--r-- | src/math/numbertheory/numthry.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/math/numbertheory/numthry.h b/src/math/numbertheory/numthry.h index d21635f34..7d0330ef6 100644 --- a/src/math/numbertheory/numthry.h +++ b/src/math/numbertheory/numthry.h @@ -108,9 +108,10 @@ BigInt BOTAN_DLL power_mod(const BigInt& b, BigInt BOTAN_DLL ressol(const BigInt& x, const BigInt& p); /** -* @param x an integer +* @param x a positive integer * @return count of the zero bits in x, or, equivalently, the largest -* value of n such that 2^n divides x evently +* value of n such that 2^n divides x evenly. Returns zero if +* n is less than or equal to zero. */ size_t BOTAN_DLL low_zero_bits(const BigInt& x); |