using OCaml for large computations
- Hi Folks,
Thanks for the help and the encouragement. I was able to produce 78,914 digits using following steps in the toplevel. The larger example (2 ** (3 ** 18)) was just an half a centemeter too big for my resources. The command line example does also work for the smaller number (2 ** (2 ** 18)).
#open "dynlink.cma" ;;
#use "topfind" ;;
#require "pa_do.num" ;;
let () = print_endline Num.(to_string (2 ** (2 ** 18))) ;;
With kind regards,