[APFloat] Improve asserts in isSignificandAllOnes and isSignificandAllZeros so...
[APFloat] Improve asserts in isSignificandAllOnes and isSignificandAllZeros so they protect shift operations from undefined behavior. For example, the assert in isSignificandAllZeros allowed NumHighBits to be integerPartWidth. But since it is used directly as a shift amount it must be less than integerPartWidth.
Loading
Please sign in to comment