aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-06-24 09:57:59 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-06-24 09:57:59 +0000
commitfb25071a18ef24949f2f422c919b85340d6c6e2a (patch)
treec862547e5631719a0c548b8a51e77460be417823 /include
parentc29f5dc29eff6f00e23eb24a6be2b27a558aee98 (diff)
downloadexternal_llvm-fb25071a18ef24949f2f422c919b85340d6c6e2a.zip
external_llvm-fb25071a18ef24949f2f422c919b85340d6c6e2a.tar.gz
external_llvm-fb25071a18ef24949f2f422c919b85340d6c6e2a.tar.bz2
[APFloat] Removed a assert from significandParts() which says that one can only access the significand of FiniteNonZero/NaN floats.
The method significandParts() is a helper method meant to ease access to APFloat's significand by allowing the user to not need to be aware of whether or not the APFloat is using memory allocated in the instance itself or in an external array. This assert says that one can only access the significand of FiniteNonZero/NaN floats. This makes it cumbersome and more importantly dangerous when one wishes to zero out the significand of a zero/infinity value since one will have to deal with the aforementioned quandary related to how the memory in APFloat is allocated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions