Mathematical optimization methods
In the program, you can use mathematical optimizations of calculation algorithms, among them such as the root extraction algorithm shifting root algorithm, fast exponentiation, optimization of the calculation of the degree and root (accelerating calculations with a large exponent).