cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
cmath, can I use floats with atan?
cmath, can I use floats with atan?
Dec 6, 2013 at 1:58pm UTC
ravel1989
(38)
Can I use atan in <cmath> with floats or do I have to convert floats to doubles to get it working?
Dec 6, 2013 at 2:05pm UTC
Cubbi
(4774)
Yes, atan in cmath has an overload that takes a float and returns a float.
Topic archived. No new replies allowed.