fprint(stream,The(cl_N)(x));
}
-static cl_boolean N_equal (cl_heap_ring* R, const _cl_ring_element& x, const _cl_ring_element& y)
+static bool N_equal (cl_heap_ring* R, const _cl_ring_element& x, const _cl_ring_element& y)
{
unused R;
return equal(The(cl_N)(x),The(cl_N)(y));
return _cl_ring_element(R, (cl_N)0);
}
-static cl_boolean N_zerop (cl_heap_ring* R, const _cl_ring_element& x)
+static bool N_zerop (cl_heap_ring* R, const _cl_ring_element& x)
{
unused R;
// Here we return true only if x is the *exact* zero. Because we
return _cl_ring_element(R, expt(The(cl_N)(x),y));
}
-static cl_boolean cl_N_p (const cl_number& x)
+static bool cl_N_p (const cl_number& x)
{
- return (cl_boolean)
- (!x.pointer_p()
- || (x.pointer_type()->flags & cl_class_flags_subclass_complex) != 0
- );
+ return (!x.pointer_p()
+ || (x.pointer_type()->flags & cl_class_flags_subclass_complex) != 0);
}
static cl_ring_setops N_setops = {