C++ Programming/Code/Standard C Library/Functions/sqrt
< C++ Programming < Code < Standard C Library < Functionssqrt
Syntax |
#include <cmath>
double sqrt( double num );
|
The sqrt() function returns the square root of num. If num is negative, a domain error occurs.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.