]> www.ginac.de Git - cln.git/blobdiff - src/modinteger/cl_MI_std.h
Convert complex numbers to real numbers if imaginary part is floating-point 0.0.
[cln.git] / src / modinteger / cl_MI_std.h
index e704cc8f67e58af1ef0dea5e81c2906bc3f5c83a..ede3818d5918cb57e54cba87beaf726ff15daf62 100644 (file)
@@ -35,7 +35,7 @@ static const _cl_MI std_zero (cl_heap_modint_ring* R)
        return _cl_MI(R, 0);
 }
 
-static cl_boolean std_zerop (cl_heap_modint_ring* R, const _cl_MI& x)
+static bool std_zerop (cl_heap_modint_ring* R, const _cl_MI& x)
 {
        unused R;
        return zerop(x.rep);
@@ -208,7 +208,7 @@ static const _cl_MI std_expt_pos (cl_heap_modint_ring* R, const _cl_MI& x, const
                {
                        var const uintD* n_LSDptr;
                        var const uintD* n_MSDptr;
-                       I_to_NDS_nocopy(n, n_MSDptr=,,n_LSDptr=,cl_false,);
+                       I_to_NDS_nocopy(n, n_MSDptr=,,n_LSDptr=,false,);
                        var const uintL k_mask = bit(k)-1;
                        var uintD carry = 0;
                        var unsigned int carrybits = 0;