[GRASS5] potential problems in d.vect.thematic when using a column of type real in postgresql

Hamish hamish_nospam at yahoo.com
Thu Sep 15 20:30:51 EDT 2005


>  thus the only possible rewrite for 'a=b' would be:
> 
> 'a/b < 1+1e-10 and b/a < 1+1e-10'
> 
> which might run into division by zero errors and so on.


note for floating points, divide by zero just gives a value of "nan".
(not a number)

It is only with integers that it causes an error.



Hamish




More information about the grass-dev mailing list