Add getSizeInBits function to the APFloat class
authorTamas Berghammer <tberghammer@google.com>
Thu, 9 Jul 2015 10:13:39 +0000 (10:13 +0000)
committerTamas Berghammer <tberghammer@google.com>
Thu, 9 Jul 2015 10:13:39 +0000 (10:13 +0000)
commit6055ca7bf4a7790a28042e31ab6c926539b35a73
tree1dfcc5ddab329a99138fead2eb086e14dfd898c2
parentb0205f593747286e6c0986c25c2bccce71b863ce
Add getSizeInBits function to the APFloat class

The newly added function returns the size of the specified floating
point semantics in bits.

Differential revision: http://reviews.llvm.org/D8413

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