#include "cl_sysdep.h"
// Specification.
-#include "cl_real.h"
+#include "cln/real.h"
// Implementation.
-#include "cl_rational.h"
-#include "cl_float.h"
+#include "cln/rational.h"
+#include "cln/float.h"
-MAYBE_INLINE
-const cl_R sqrt (const cl_RA& x)
+namespace cln {
+
+CL_INLINE const cl_R CL_INLINE_DECL(sqrt) (const cl_RA& x)
{
var cl_RA w;
if (sqrtp(x,&w)) // auf Quadrat testen
// x in Float umwandeln, dann die Wurzel ziehen:
return sqrt(cl_float(x));
}
+
+} // namespace cln