]> www.ginac.de Git - cln.git/blobdiff - src/complex/algebraic/cl_FF_hypot.cc
2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
[cln.git] / src / complex / algebraic / cl_FF_hypot.cc
index 5f3f9bf3bbe07436ba31d2e04a2611d616f1c814..f52ba0d05679ad0f926c8cb4d549bc555f141268 100644 (file)
@@ -9,13 +9,15 @@
 
 // Implementation.
 
-#include "cl_ffloat.h"
+#include "cln/ffloat.h"
 #include "cl_FF.h"
 
 #undef MAYBE_INLINE
 #define MAYBE_INLINE inline
 #include "cl_FF_minusp.cc"
 
+namespace cln {
+
 const cl_FF cl_hypot (const cl_FF& a, const cl_FF& b)
 {
 //  a=0.0 -> liefere abs(b).
@@ -55,3 +57,5 @@ const cl_FF cl_hypot (const cl_FF& a, const cl_FF& b)
        var cl_FF nc = square(na) + square(nb);
        return scale_float(sqrt(nc),e); // c' := sqrt(c'), 2^e*c'
 }
+
+}  // namespace cln