extern mp *mp_sqrt(mp */*d*/, mp */*a*/);
+/* --- @mp_squarep@ --- *
+ *
+ * Arguments: @mp *n@ = an integer
+ *
+ * Returns: Nonzero if and only if @n@ is a perfect square, i.e.,
+ * %$n = a^2$% for some rational integer %$a$%.
+ */
+
+extern int mp_squarep(mp */*n*/);
+
/* --- @mp_nthrt@ --- *
*
* Arguments: @mp *d@ = fake destination