By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,945 Members | 1,308 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,945 IT Pros & Developers. It's quick & easy.

Where is sqrt defined?

P: n/a
I know there are several version of sqrt. Would you please tell me
where sqrt<std::complex<double> > is defined?

Thanks,
Peng

Nov 22 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Pe*******@gmail.com wrote:
I know there are several version of sqrt. Would you please tell me
where sqrt<std::complex<double> > is defined?


Probably in <complex>.

V
Nov 22 '05 #2

P: n/a
math.h i think

Nov 22 '05 #3

P: n/a
co************@gmail.com wrote:
math.h i think


If so, that'd be <cmath> for C++ actually.

--
Regards,

Ferdi Smit (M.Sc.)
Email: Fe********@cwi.nl
Room: C0.07 Phone: 4229
INS3 Visualization and 3D Interfaces
CWI Amsterdam, The Netherlands
Nov 23 '05 #4

P: n/a
Ferdi Smit wrote:
co************@gmail.com wrote:
math.h i think


If so, that'd be <cmath> for C++ actually.


math.h works just fine in C++.

--

Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)
Nov 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.