Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - It is wrong to calculate cubic values in C language.
It is wrong to calculate cubic values in C language.
After a is too big, int is not enough to store.

If the compiler is advanced, you can set x to long long int.

If it is not enough, we should make a super-large multiplication calculation program according to the multiplication principle (including carry, etc.). )

I made a power calculator, which theoretically supports infinity.