# 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")
Run the code above in your browser using DataLab