diff options
Diffstat (limited to 'Help/guide/importing-exporting/MathFunctionsComponents/SquareRoot/SquareRoot.cxx')
| -rw-r--r-- | Help/guide/importing-exporting/MathFunctionsComponents/SquareRoot/SquareRoot.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/guide/importing-exporting/MathFunctionsComponents/SquareRoot/SquareRoot.cxx b/Help/guide/importing-exporting/MathFunctionsComponents/SquareRoot/SquareRoot.cxx new file mode 100644 index 0000000..29c0c4a --- /dev/null +++ b/Help/guide/importing-exporting/MathFunctionsComponents/SquareRoot/SquareRoot.cxx @@ -0,0 +1,10 @@ +#include "SquareRoot.h" + +#include <cmath> + +namespace MathFunctions { +double sqrt(double x) +{ + return std::sqrt(x); +} +} |
