[GRASS5] Severe bug in r.mapcalc!! [raghavan@media.osaka-cu.ac.jp: Bugreport GRASS 5]

Markus Neteler neteler at geog.uni-hannover.de
Fri Jul 28 12:48:11 EDT 2000


On Fri, Jul 28, 2000 at 09:59:15AM -0500, Bill Brown - staff wrote:
> 
>  r.mapcalc test=-129
> 
> This works OK on my IRIX machine.  As with other negative
> numbers, it's stored using a full 4-byte int (in cellhd file,
> "format: 3").  Do other negative numbers work OK?

Thanks for testing. Obviously yes (on Linux):

r.mapcalc test=-128 
EXECUTING test = ...  100%
CREATING SUPPORT FILES FOR test
range: -128 -128

 -> o.k.

GRASS:~ > r.mapcalc test=-129 
EXECUTING test = ...  100%
CREATING SUPPORT FILES FOR test

 -> NULL!!!

GRASS:~ > r.mapcalc test=-130
EXECUTING test = ...  100%
CREATING SUPPORT FILES FOR test
range: -130 -130

 -> o.k.

This is a very strange error.

Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list