Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug for a corner case in Intp (#167)
Summary: Pull Request resolved: #167 As title. The inverse of `kMin` should still be `kMin`. E.g. for 8bit signed integer, the range is [-128, 127]. The inverse of -128 is 128, which is mapped to -128 again. When k is an unsigned n-bit integer, then -k is defined as 2^n - k. Reviewed By: ashiquemfb Differential Revision: D35262756 fbshipit-source-id: e23eb4290c9e490e149c64f331671c82eeaf3f2d
- Loading branch information