Rcpp wrap/as for big integers, rationals and reals for the R gmp and Rmpfr packages.