summaryrefslogtreecommitdiff
path: root/Tests/Tutorial/Complete/MathFunctions/MathFunctions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Tutorial/Complete/MathFunctions/MathFunctions.cxx')
-rw-r--r--Tests/Tutorial/Complete/MathFunctions/MathFunctions.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/Tests/Tutorial/Complete/MathFunctions/MathFunctions.cxx b/Tests/Tutorial/Complete/MathFunctions/MathFunctions.cxx
deleted file mode 100644
index 5351184be..000000000
--- a/Tests/Tutorial/Complete/MathFunctions/MathFunctions.cxx
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#include "MathFunctions.h"
-#include <cmath>
-
-#ifdef USE_MYMATH
-# include "mysqrt.h"
-#endif
-
-namespace mathfunctions {
-double sqrt(double x)
-{
-#ifdef USE_MYMATH
- return detail::mysqrt(x);
-#else
- return std::sqrt(x);
-#endif
-}
-}