bigfloat() and as_bigfloat() construct a vector designed to store numbers
with 50 decimal digits of precision.
is_bigfloat() checks if an object is of class bignum_bigfloat.
bigfloat(x = character())
as_bigfloat(x)
is_bigfloat(x)Object to be coerced or tested.
An S3 vector of class bignum_bigfloat.
NA_bigfloat_ to represent missing values.
format() for pretty printing.
vignette("operations") for supported operations.
# default options limit displayed precision
bigfloat(1) / 3
#> <bigfloat[1]>
#> [1] 0.3333333
# display full precision
format(bigfloat(1) / 3, sigfig = 50, notation = "dec")
#> [1] "0.33333333333333333333333333333333333333333333333333"