Exponentiation of negative single and half precision fails on nightly #40609
Labels
Comments
|
This comes from #40236 -- there is a relatively obvious problem with taking the logarithm of the base without checking its sign. This could be fixed by taking the absolute value first and then computing what the sign of the final result should be, but I'm not sure would preserve the speed gain. The fix should definitely include a test with negative bases. |
|
Let's add the relevant tests before closing this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


The text was updated successfully, but these errors were encountered: