<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000099">
Hi,<br>
<br>
I am having trouble with the following computation, which gives me
an overflow warning ("WARNING: Overflow occured in the
calculation"). <br>
<br>
<pre>r.mapcalc "A = if(B==0, (round(C/0.0001)-1175699902)/(3007966667-1175699902) *100.0, 1)" --overwrite</pre>
<br>
whereby C is a map with values between 1 and 31000. It seems to be
related to the size of the numbers (no warning if I divide C by
0.001), but I am not clear what limit I am hitting here or how to
avoid this. <br>
<br>
The warning does not stop the calculation, and the resulting map
seems to be correct. However, I rather avoid this warning, also
because the warning message causes problems when running in batch
from within R.<br>
<br>
I am running GRASS 7.0 on Ubuntu 13.04 64 bit.<br>
<br>
<br>
Best<br>
<br>
Paulo<br>
<br>
<br>
<br>
</body>
</html>