Rdocumentation
powered by
Learn R Programming
gmp (version 0.7-5.1)
Multiple Precision Arithmetic
Description
Multiple Precision Arithmetic (big integers and rationals, prime number tests, matrix computation), "arithmetic without limitations" using the C library GMP (GNU Multiple Precision Arithmetic).
Copy Link
Link to current version
Version
Version
0.7-5.1
0.7-5
0.7-4
0.7-3
0.7-2
0.7-1
0.6-10
0.6-9
0.6-8
0.6-7
0.6-6
0.6-5
0.6-4
0.6-2.1
0.6-2
0.6-1
0.6-0
0.5-14
0.5-13.6
0.5-13.5
0.5-13.4
0.5-13.2
0.5-13.1
0.5-13
0.5-12
0.5-11
0.5-10
0.5-9
0.5-8
0.5-7
0.5-6
0.5-5
0.5-4
0.5-3
0.5-2
0.5-1
0.4-12
0.4-11
0.4-10
0.4-8
0.4-6
0.4-4
0.4-2
0.4-1
0.4-0
0.3-4
0.3-3
0.3-2
0.3-1
0.2-2
0.1
Install
install.packages('gmp')
Monthly Downloads
54,462
Version
0.7-5.1
License
GPL (>= 2)
Maintainer
Antoine Lucas
Last Published
February 9th, 2026
Functions in gmp (0.7-5.1)
Search all functions
BernoulliQ
Exact Bernoulli Numbers
Relational_Operator
Relational Operators
binomQ
Exact Rational Binomial Probabilities
factorialZ
Factorial and Binomial Coefficient as Big Integer
factorization
Factorize a number
frexpZ
Split Number into Fractional and Exponent of 2 Parts
nextprime
Next Prime Number
gcdex
Compute Bezoult Coefficient
gcd.bigz
Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
modulus
Modulus of a Big Integer
mpfr
Exported function for mpfr use
Bigq_operators
Basic arithmetic operators for large rationals
is.whole
Whole ("Integer") Numbers
Bigq
Relational Operators
gmp.utils
GMP Number Utilities
isprime
Determine if number is (very probably) prime
roundQ
Rounding Big Rationals ("bigq") to Decimals
powm
Exponentiation function
matrix
Matrix manipulation with gmp
cumsum
(Cumulative) Sums, Products of Large Integers and Rationals
sizeinbase
Compute size of a bigz in a base
solve.bigz
Solve a system of equation
Oakley
RFC 2409 Oakley Groups - Parameters for Diffie-Hellman Key Exchange
apply
Apply Functions Over Matrix Margins (Rows or Columns)
Extremes
Extrema (Maxima and Minima)
Stirling
Eulerian and Stirling Numbers of First and Second Kind
bigz
Large Sized Integer Values
gmp-ifiworkarounds
Base Functions in 'gmp'-ified Versions
lucnum
Compute Fibonacci and Lucas numbers
bigq
Large sized rationals
Random
Generate a random number
bigz_operators
Basic Arithmetic Operators for Large Integers ("bigz")
asNumeric
Coerce to 'numeric', not Loosing Dimensions
extract
Extract or Replace Parts of a 'bigz' or 'bigq' Object
formatN
Format Numbers Keeping Classes Distinguishable