from numba import njit
N = 100
@njit
def numba_pow(N):
return pow(N, N)
def just_pow(N):
return pow(N, N)
print(numba_pow(N))
print(just_pow(N))
Результат в консоли:
0
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Почему так происходит?