This adds a bunch of static functions that implement unsigned
authorChris Lattner <sabre@nondot.org>
Thu, 16 Aug 2007 15:56:55 +0000 (15:56 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 16 Aug 2007 15:56:55 +0000 (15:56 +0000)
commitfe8e14a6c99261cfe9238c35761083cb4c99cc6a
tree6e0542945a5c8e9f8be3a0aa24f974e5101b18f2
parent24eb92e9ad64570e977238c06ba28a064f5d936a
This adds a bunch of static functions that implement unsigned
two's complement bignum arithmetic.  They could be used to
implement much of APInt, but the idea is they are enough to
implement APFloat as well, which the current APInt interface
is not suited for.

Patch by Neil Booth!

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