Learn R Programming

gmp (version 0.7-5)

mpfr: Exported function for mpfr use

Description

Theses hidden function are provided for mpfr use. Use theses function with care.

Usage

.as.bigz(a, mod=NA)

Value

An R object of (S3) class "bigz", representing the argument (x or a).

Arguments

a

either integer, numeric (i.e., double) or character vector.

If character: the strings either start with 0x for hexadecimal, 0b for binary, 0 for octal, or without a 0* prefix for decimal values. Formatting errors are signalled as with stop.

mod

an integer, numeric, string or bigz of the internal modulus, see below.

References

The GNU MP Library, see https://gmplib.org

Examples

Run this code
.as.bigz(1)

Run the code above in your browser using DataLab