⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀         ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
885 B

  1. clc
  2. %tic;pkg install -forge symbolic;fprintf(1,['%.' num2str(2^6) 'f.\n'],toc);%
  3. try
  4. try
  5. tic;digits(2^15-2);fprintf(1,['%.' num2str(2^6) 'f.\n'],toc);
  6. tic
  7. vpa(1)...
  8. /...
  9. vpa(84.406022589954030768899117092091000289089388918088900852079)...
  10. *...
  11. vpa(3)...
  12. ^...
  13. vpa(9)
  14. fprintf(1,['%.' num2str(2^6) 'f.\n'],toc)
  15. catch ME
  16. tic;pkg load symbolic;fprintf(1,['%.' num2str(2^6) 'f.\n'],toc);
  17. end
  18. catch ME
  19. tic;fprintf(['%.' num2str(2^6) 'f\n'], 1 / 84.406022589954030768899117092091000289089388918088900852079 * 3^9);fprintf(1,['%.' num2str(2^6) 'f.\n'],toc);
  20. end