I have this function which is simply a sum and a product. For some values work for others not in the sense does not return the correct result.
Codia function (r, c) {
return ((r + c) * (r + c + 1));
}
alert(Codia(1908229752,0));
Result obtained by the function: 3641340788326211000
Result calculated by me: 3641340788326211256
Can you tell me where am I wrong.