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

 > kernelopts(maximmediate);

 ${1073741823}$ (1)

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.

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam