[ADT] Replace the logb implementation with the simpler and much closer
authorChandler Carruth <chandlerc@gmail.com>
Fri, 10 Oct 2014 05:14:12 +0000 (05:14 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 10 Oct 2014 05:14:12 +0000 (05:14 +0000)
commitf4ec6697b8aecadc8510c10f536ecacd53b6c981
tree463e7e4a403668b96a3f90e5a4079a1bc957685c
parentcb84b21243b126db4eb282e6d94c9ccd1d2c2730
[ADT] Replace the logb implementation with the simpler and much closer
to what we actually want ilogb implementation. This makes everything
*much* easier to deal with and is actually what we want when using it
anyways.

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