Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[APFloat] Improve asserts in isSignificandAllOnes and isSignificandAl…
…lZeros 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 branch information