> There can be a significant performance hit for doing this. Checking > whether the result of an addition overflowed is actually more > expensive than the addition itself. Checking whether a multiplication > overflowed can be even worse (particularly if you don't have a 64-bit > integer type available). > > -- > Glynn Clements <[email protected]> >
Hm. If that's a debilitating issue, perhaps the overflow check could be triggered by a flag (e.g., if the user thinks there may be a problem) or (easier) some information on typing and overflow could be placed on the man page. Andy _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
