document what number is NULL [Re: [GRASS-dev] r.mapcal rand() strangeness]

2008-02-26 Thread Maciej Sieczka
Glynn Clements pisze: -2^31 (= 0x8000 = -2147483648) is the null value for the CELL type, so you'll never see that value in a map. The FP nulls are the all-ones bit patterns. These corresponds to NaN according to the IEEE-754 formats, although it isn't the "default" NaN pattern generated

Re: document what number is NULL [Re: [GRASS-dev] r.mapcal rand() strangeness]

2008-03-13 Thread Maciej Sieczka
Maciej Sieczka pisze: Glynn Clements pisze: -2^31 (= 0x8000 = -2147483648) is the null value for the CELL type, so you'll never see that value in a map. The FP nulls are the all-ones bit patterns. These corresponds to NaN according to the IEEE-754 formats, although it isn't the "default