]> www.ginac.de Git - cln.git/blobdiff - tests/test_I_isqrt.cc
Fix sparc64 build with -DNO_ASM and reduce compiler warnings.
[cln.git] / tests / test_I_isqrt.cc
index 6813b76924f5657920da1612f2d98716e6cc5629..541dcdc79f3da82377d1d7cb8a1c6a8a29cbff15 100644 (file)
@@ -9,7 +9,7 @@ int test_I_isqrt (int iterations)
                cl_I a = testrandom_I();
                if (a >= 0) {
                        cl_I w;
-                       cl_boolean squarep = isqrt(a,&w);
+                       bool squarep = isqrt(a,&w);
                        ASSERT1(w >= 0 && expt_pos(w,2) <= a && a < expt_pos(w+1,2), a);
                        ASSERT1(squarep ? w*w==a : w*w<a, a);
                }