Skip to content
Discussion options

You must be logged in to vote

I suspect in this case, the compiler noticed that sin is actually not that expensive a computation, and decided that it would be optimal to not save the intermediate value for use in both fusions.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@LawrenceMMStewart
Comment options

@jakevdp
Comment options

@LawrenceMMStewart
Comment options

@jakevdp
Comment options

Comment options

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

Comment options

You must be logged in to vote
2 replies
@jakevdp
Comment options

Answer selected by LawrenceMMStewart
@LawrenceMMStewart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants