Learn R Programming

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

gmp (version 0.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

53,763

Version

0.1

License

GPL

Maintainer

Antoine Lucas

Last Published

August 23rd, 2024

Functions in gmp (0.1)

isprimeprob

Determine if number is prime
gmp.add

Basic arithmetic operators for large integers
nextprime

Next prime number
powm

Exponential function
gcdex

Compute Bezoult coefficient
gmp.rand

Generate a random number
gcd

Great common divisor, Least common multiple
gmp.inv

Compute inverse of a modulo b.