pytorch
497b7725 - Add custom implementation for `csqrt` if libc++ is used (#52018)

Commit
3 years ago
Add custom implementation for `csqrt` if libc++ is used (#52018) Summary: libc++ implements csqrt using polar form of the number, which results in higher numerical error, if `arg` is close to 0, pi/2, pi, 3pi/4 Fixes https://github.com/pytorch/pytorch/issues/47500 Pull Request resolved: https://github.com/pytorch/pytorch/pull/52018 Reviewed By: walterddr Differential Revision: D26359947 Pulled By: malfet fbshipit-source-id: 8c9f4dc45948cb29c43230dcee9b030c2642d981
Author
Parents
Loading