There is no limit to the number of digits. Faster: https://turbowarp.org/924952386?turbo (I calculated 2^100000 with this engine!)
Code 100% by me!