Hacker News new | ask | show | jobs
by duped 828 days ago
1 - cos^2(x), obviously
2 comments

instead, you could just double negate to optimize away the square root

    -(-(sin(x))
clear, but too verbose. 1/csc is what you want.

or for style points just -cos'