yongfeng-nv commented on issue #5367: URL: https://github.com/apache/incubator-tvm/pull/5367#issuecomment-617894234
In my example `floormod([z*8+x*4, z*8+x*4+3], 8)`, the expected result is either `[0, 3]` or `[4, 7]`, depending on `x`. The current implementation returns `[0, 9]` for the test case of `[1, 21] mod 10`, because `21 - 1 >= 10`. Both logic are correct and equivalent in theory. The current one depends on less complicated ops. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
