Introduction to GMP - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : System : examples/GMP

Introduction to GMP


Maple uses the GMP library to perform arbitrary-precision integer arithmetic. For more information about GMP, see ?gmp.

Arbitrary-precision integer arithmetic involves working with numbers that are too large to fit into hardware integers. In Maple, the greatest number that can be represented by hardware integer is given by





Integers greater than the above are represented by software integers. Arithmetic for software integers requires special algorithms for large integer arithmetic. To illustrate exact arbitrary-precision integer arithmetic in Maple, consider the following examples.


Return to Index for Example Worksheets