Programming languages ​​- modular exponential with large numbers.

I have to calculate a modular exponential with really big numbers, like N = 94399927, x = -19495615862231.37 and e = 11 (where N is the module, x the number and e the exponent). In particular, I am trying to calculate the RSA encryption, so in the decryption phase I have to be able to calculate the same with N = 94399927, x_enc as the deciphered value and d = 85800451 as an exponent.
The problem is that in Matlab I have to do this with a really big number, the result is incorrect or it returns 0.
Does anyone know how I can do this calculation? Thanks in advance.