Learn R Programming

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

gmp (version 0.2-2)

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.2-2

License

GPL

Maintainer

Antoine Lucas

Last Published

August 23rd, 2024

Functions in gmp (0.2-2)

add.bigz

Basic arithmetic operators for large integers
gcdex

Compute Bezoult coefficient
gcd.bigz

Great common divisor, Least common multiple
Random

Generate a random number
bigz

Large sized integer values
isprime

Determine if number is prime
[.bigz

Extract or Replace Parts of an Object
nextprime

Next prime number
lucnum

Compute Fibonacci and Lucas numbers
==.bigz

Relational Operators
sizeinbase

Compute size of a biginteger in a base
modulus

Modulus