Skip to content

Difference between numpy and jax.numpy. #12175

Answered by jakevdp
ley61 asked this question in General
Discussion options

You must be logged in to vote

Hi, thanks for the question. I think this is not a bug, but rather a floating point roundoff issue that is a consequence of different choices for how to implement complex trigonometric functions. For a detailed explanation of what is happening here, see the similar question in #9358 and in particular the answer at #9358 (comment)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ley61
Comment options

Answer selected by ley61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants