Learn R Programming

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

gmp (version 0.3-3)

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

54,462

Version

0.3-3

License

GPL

Maintainer

Antoine Lucas

Last Published

August 23rd, 2024

Functions in gmp (0.3-3)

bigz

Large sized integer values
isprime

Determine if number is prime
Random

Generate a random number
modulus

Modulus
Oakley

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

Compute Fibonacci and Lucas numbers
gcdex

Compute Bezoult coefficient
bigz operators

Basic arithmetic operators for large integers
Bigq

Relational Operators
facorization

Factorize a number
Extract

Extract or Replace Parts of an Object
Relational Operator

Relational Operators
sizeinbase

Compute size of a bigz in a base
gcd.bigz

Great common divisor, Least common multiple
nextprime

Next prime number
[.bigz

Extract or Replace Parts of an Object
Bigq operators

Basic arithmetic operators for large rationals