the value of R is 1090Ohm but i only get 0.00;-0.00 C temp.
The equation that im trying to use looks like this:
R = R0 * (1 + AT + BT^2 -100CT^3 + C*T^4)
where
R = resistance of sensor in ohms
R0 = resistance at zero degrees Celsius in ohms (100 for Pt100, and 1000 for Pt1000)
T = temperature in degrees Celsius
A = 3.908310^-3
B = -5.77510^-7
C = -4.183*10^-12 for T < 0 degrees Celsius
C = 0 for T >= 0 degrees Celsius
is a perfectly valid way of initializing A, without the need for a function call.
pow(A,2) is again a slow way of computing A * A.
Try changing all the integers in the expression to floats. (4 -> 4.0).
Try printing intermediate values. Somewhere, you are performing integer arithmetic when you don't want to be (probably because of the integer values in the equation).