commit | 0ffdb31af02791f0be70c546fc66b46d4eb12517 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Thu Oct 09 23:26:15 2014 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Thu Oct 09 23:26:15 2014 +0000 |
tree | 578e64c8c8d55dae8924d56f25612799aa0551f9 | |
parent | a4554c28976480cda89d72313cc717140d11ce6c [diff] |
[ADT] Add basic operator overloads for arithmetic to APFloat to make code using it more readable. Also add a copySign static function that works more like the standard function by accepting the value and sign-carying value as arguments. No interesting logic here, but tests added to cover the basic API additions and make sure they do something plausible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219453 91177308-0d34-0410-b5e6-96231b3b80d8