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 <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to