// cornacchia1().
// General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
// Specification.
#include "cln/numtheory.h"
// Implementation.
-#include "cl_xmacros.h"
+#include "base/cl_xmacros.h"
namespace cln {
if (init.condition)
return init.condition;
if (init.solutions != 2)
- cl_abort();
+ throw runtime_exception();
// Euclidean algorithm.
var cl_I a = p;
var cl_I b = R->retract(init.solution[0]);