utils_gmp

© 2016 John Abbott
GNU Free Documentation License, Version 1.2



CoCoALib Documentation Index

User documentation for file utils-gmp.H

This file defines a few very basic functions which I feel should really be part of the GMP library. Nevertheless I have placed all definitions inside the namespace CoCoA. Here is a summary:

Maintainer documentation for file utils-gmp.H

The implementations are not exception safe. The emphasis was on obvious correctness rather than greatest speed.

Bugs, Shortcomings and other ideas

Currently mpz_rounddiv and mpq_round return a boolean saying whether the quotient was in fact an integer.