Learn R Programming

⚠️There's a newer version (0.7-5) of this package.Take me there.

gmp (version 0.3-4)

Multiple Precision Arithmetic

Description

Multiple Precision Arithmetic (big integers and rationals, prime number tests), "arithmetic without limitations" using the C library gmp.

Copy Link

Version

Install

install.packages('gmp')

Monthly Downloads

52,488

Version

0.3-4

License

GPL

Maintainer

Antoine Lucas

Last Published

August 23rd, 2024

Functions in gmp (0.3-4)

lucnum

Compute Fibonacci and Lucas numbers
gcdex

Compute Bezoult coefficient
[.bigz

Extract or Replace Parts of an Object
Bigq operators

Basic arithmetic operators for large rationals
bigq

Large sized rationals
nextprime

Next prime number
Extract

Extract or Replace Parts of an Object
isprime

Determine if number is prime
bigz operators

Basic arithmetic operators for large integers
modulus

Modulus
facorization

Factorize a number
bigz

Large sized integer values
Oakley

RFC 2409 Oakley Groups - Standardized Parameters for Diffie-Hellman Key Exchange
Random

Generate a random number
Relational Operator

Relational Operators
sizeinbase

Compute size of a bigz in a base
gcd.bigz

Great common divisor, Least common multiple