Add tests to ensure that both abs(0.0) and abs(-0.0) lead to 0.0 (#23701)
Summary:
As pointed out by colesbury in https://github.com/pytorch/pytorch/pull/23579#discussion_r309798987
Pull Request resolved: https://github.com/pytorch/pytorch/pull/23701
Differential Revision: D16623781
Pulled By: mrshenli
fbshipit-source-id: f48a29499128b08d2ac8bc9e466f2326112ead94