[GRASS-dev] [GRASS GIS] #1888: r.terraflow won't run

Glynn Clements glynn at gclements.plus.com
Fri Feb 22 00:14:00 PST 2013


Hamish wrote:

> > With the special case I mean the default value 'infinity'
> > when the option is defined as TYPE_DOUBLE
> 
> just to note inf, -inf, and nan are perfectly valid IEEE floating
> point values. they don't make much sense with a spinbox of course,
> but if the wx widget doesn't accept them for a FP input, then
> a bug/wish should be filed upstream with them.

On a related note: how does a spinbox deal with e.g. 1e300 or 1e-300?

The spinbox concept was designed for integers; I'm not sure that it's
useful for floating-point values.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list