Learn R Programming

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

gmp (version 0.3-1)

Multiple Precision Arithmetic

Description

Multiple precision Arithmetic, (prime numbers...), "arithmetic without limitations" use the C library gmp.

Copy Link

Version

Install

install.packages('gmp')

Monthly Downloads

52,488

Version

0.3-1

License

GPL

Maintainer

Antoine Lucas

Last Published

August 23rd, 2024

Functions in gmp (0.3-1)

bigz operators

Basic arithmetic operators for large integers
nextprime

Next prime number
Relational Operator

Relational Operators
Extract

Extract or Replace Parts of an Object
bigz

Large sized integer values
Random

Generate a random number
sizeinbase

Compute size of a bigz in a base
lucnum

Compute Fibonacci and Lucas numbers
Bigq

Relational Operators
facorization

Factorize a number
gcdex

Compute Bezoult coefficient
modulus

Modulus
isprime

Determine if number is prime
[.bigz

Extract or Replace Parts of an Object
gcd.bigz

Great common divisor, Least common multiple
Bigq operators

Basic arithmetic operators for large rationals
Oakley

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