implement floordiv with correct integer and division by 0 semantics (#15813)
authorZachary DeVito <zdevito@fb.com>
Tue, 8 Jan 2019 21:09:11 +0000 (13:09 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 8 Jan 2019 21:44:18 +0000 (13:44 -0800)
commitacc83ad54ef85eacd3c7ebfe20ee8225164e5bd1
treec951965a269ac4a4ca77cd186ac541e1715ad2d5
parent92a2bfe52d6498b8c0be6de7773ebf778d7bff8c
implement floordiv with correct integer and division by 0 semantics (#15813)

Summary:
fixes #15768
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15813

Differential Revision: D13594872

Pulled By: zdevito

fbshipit-source-id: c6c78c9e17fb16ec2bdc42402d203592cf35b7db
test/test_jit.py
torch/csrc/jit/register_prim_ops.cpp