Is numpy.power() less accurate then math.pow()?
Example:
Given A = numpy.array([6.66655333e+12,6.66658000e+12,6.66660667e+12,3.36664533e+12])
I define
result = numpy.power(A,2.5)
So
>> result = [ 1.14750185e+32 1.14751333e+32 1.14752480e+32 2.07966517e+31]
However:
math.pow(A[0],2.5) = 1.14750185103e+32
math.pow(A[1],2.5) = 1.14751332619e+32
math.pow(A[2],2.5) = 1.14752480144e+32
math.pow(A[3],2.5) = 2.079665167e+31