[GRASS-dev] r.mapcalc/r.univar and 0.0/rand

Maciej Sieczka tutey at o2.pl
Fri Sep 15 06:24:45 EDT 2006


Glynn Clements wrote:
> Maciej Sieczka wrote:

>> Why this difference? I would expect "minimum: 0" in both cases.

> Why? The probability of getting exactly 0.0 out of rand(0.0,2.0) is so
> small as to be negligible.
> 
> The probability of any single value being exactly 0.0 is less than
> 1e-300, so you would need in the region of 1e300 values to have a
> reasonable probability that one of them would be exactly 0.0.

Oops. That was dumb of me. Of course. Forgive me - it was late here
when I asked that question.

Best,
Maciek




More information about the grass-dev mailing list