biginteger | R Documentation |
biginteger()
and as_biginteger()
construct a vector designed to store
any integer.
is_biginteger()
checks if an object is of class bignum_biginteger
.
biginteger(x = character())
as_biginteger(x)
is_biginteger(x)
x |
Object to be coerced or tested. |
An S3 vector of class bignum_biginteger
.
NA_biginteger_
to represent missing values.
format()
for pretty printing.
vignette("operations")
for supported operations.
# default options limit displayed precision
biginteger(2)^50L
# display full precision
format(biginteger(2)^50L, notation = "dec")
# lossy casts raise a warning
biginteger(c(2, 2.5, 3))
# suppress warnings if they are expected
suppressWarnings(biginteger(c(2, 2.5, 3)))
# unsigned integers can be specified as hexadecimal
biginteger("0xffffffff")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.