OSDN Git Service

[APFloat] Convert all references to fcNormal to references to isFiniteNonZero().
authorMichael Gottesman <mgottesman@apple.com>
Wed, 26 Jun 2013 23:17:28 +0000 (23:17 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Wed, 26 Jun 2013 23:17:28 +0000 (23:17 +0000)
commit41489dd295d3b2b3df9c13989552c45efc93b912
tree2b30ed4b3f1fe8c91924d1eaf1fee8b607d4683b
parent8479989ebe30f8fb9e14fbd5622fe0fd51988ff6
[APFloat] Convert all references to fcNormal to references to isFiniteNonZero().

Currently inside APFloat fcNormal still implies the old definition of Normal
(i.e. isFiniteNonZero) instead of the proper IEEE-754R definition that the
external method isNormal() uses.

This patch prepares for the internal switch inside APFloat by converting all
references that check if a category is fcNormal directly with an indirect call
via isFiniteNonZero().

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