Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °
You are not logged in.
I need sine, cosine and tangent functions for C++ :-(
I'm writing some awsome programs using math but I really really really need access to sine, cosine and tangent functions, also I really could use arcsin, arccos, and arctan, but arctangent the most since I need to convert from rectangular form to polar form and back.
A logarithm is just a misspelled algorithm.
Re: I need sine, cosine and tangent functions for C++ :-(
For performance I would use the standard include "math.h" - it has sin cos and tan.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman