[XLA] Fix edge cases in erfinv implementation.
We were not handling +/-1 correctly. Some backends would return the wrong infinity (i.e. -/+inf rather than +/-inf), while others were returning nan. Also clean up the tests a tad. PiperOrigin-RevId: 235271238
Loading
Please sign in to comment