parse integers of arbitrary precision