commit | fe8e14a6c99261cfe9238c35761083cb4c99cc6a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Aug 16 15:56:55 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Aug 16 15:56:55 2007 +0000 |
tree | 6e0542945a5c8e9f8be3a0aa24f974e5101b18f2 | |
parent | 24eb92e9ad64570e977238c06ba28a064f5d936a [diff] |
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