Calculate the square root of a number, with remainder.
Parameters
a
The number being square rooted.
It can be either a GMP number resource, or a
numeric string given that it is possible to convert the latter to a number.
Return Values
Returns array where first element is the integer square root of
a
and the second is the remainder
(i.e., the difference between a
and the
first element squared).