On Sun, 2008-11-23 at 16:50 +0530, Sarad AV wrote: > I am aware that gmp has floor and ceil functions. Where can I find the > algorithm used by GMP to find floor and ceil for the above case? In the source code. Paul