1. Fix a carry out problem in add if destination and x point to the same
authorReid Spencer <rspencer@reidspencer.com>
Fri, 23 Feb 2007 01:57:13 +0000 (01:57 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 23 Feb 2007 01:57:13 +0000 (01:57 +0000)
commit929046376009211fb7794762cfc87ac34a1b4035
treebaa19948a97ff93f745e36bc6acb558ca8ea07a5
parent91e2390818080ae2b059e3ff850a9455858e4f7b
1. Fix a carry out problem in add if destination and x point to the same
   memory (as done in fromString).
2. Implement Knuth divide more closely to what is recommended in his book.
3. Fix computation of the remainder for Knuth Divide (bad shifting).
4. Remove some cruft from the file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34518 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APInt.cpp