Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
75f361a00c09d223bf2b0384155ef7804922a1ff
/
.
/
Help
/
guide
/
tutorial
/
MultiPackage
/
MathFunctions
/
MathFunctions.cxx
blob: 01453006297b89b3933988e755bf9bc90537915e [
file
] [
log
] [
blame
]
#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
}
}