"Rounding" complex numbers



Does Maxima have a built in function for rounding things to the nearest
(Gaussian) integer at the moment? I've got something trivial hacked
together that I've been using at work, which is basically
round(realpart(x))+round(imagpart(x)), but with some infrastructure for
distributing over bags.

Assuming I've not missed an existing function to do this, would it be a
useful utility to add? And should it have a different name, or should it
just be added to the round() function? (At the moment, round(1+%i) gives
a noun form).


Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20131116/2834374f/attachment.pgp>;