Unverified Commit 9d9bb7b1 authored by Johannes Reifferscheid's avatar Johannes Reifferscheid Committed by GitHub
Browse files

Fix complex abs corner cases. (#88373)

The current implementation fails for very small and very large values.
For example, (0, -inf) should return inf, but it returns -inf.

This ports the logic used in XLA. Tested with XLA's
exhaustive_binary_test_f32_f64.
parent 717d3f39
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment