Add isInteger() to APFloat.
authorStephen Canon <scanon@apple.com>
Mon, 16 Nov 2015 21:52:48 +0000 (21:52 +0000)
committerStephen Canon <scanon@apple.com>
Mon, 16 Nov 2015 21:52:48 +0000 (21:52 +0000)
commit0136ee950c46aaf3922c42c48053f127490ced80
treec8b1d130bd333b7d63841ef67c94f779754e7d47
parentb13e139754e5088148dd7068122965936c33a9ba
Add isInteger() to APFloat.

Useful utility function; this wasn't too hard to do before, but also wasn't
obviously discoverable.  Make it explicit.  Reviewed offline by Michael
Gottesman.

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