mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
Fix typos found by http://github.com/lyda/misspell-check
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157885 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1838,7 +1838,7 @@ static uint64_t umul_ov(uint64_t i, uint64_t j, bool &Overflow) {
|
||||
|
||||
/// Compute the result of "n choose k", the binomial coefficient. If an
|
||||
/// intermediate computation overflows, Overflow will be set and the return will
|
||||
/// be garbage. Overflow is not cleared on absense of overflow.
|
||||
/// be garbage. Overflow is not cleared on absence of overflow.
|
||||
static uint64_t Choose(uint64_t n, uint64_t k, bool &Overflow) {
|
||||
// We use the multiplicative formula:
|
||||
// n(n-1)(n-2)...(n-(k-1)) / k(k-1)(k-2)...1 .
|
||||
|
||||
Reference in New Issue
Block a user