SODA Gripes (5) No single-value arguments for intervals

Mark Taylor M.B.Taylor at bristol.ac.uk
Mon Feb 29 18:39:08 CET 2016


On Mon, 29 Feb 2016, Patrick Dowler wrote:

> Aside: I don't see anything in DALI that prevents uxing xtype="interval"
> with all numeric types (floating point and integer), so I will make that
> change in the next WD.

Note for intervals there is one problem that raises its head
when it comes to integer values: it's difficult, or at least inelegant,
to specify unbounded ranges for integers, since there's no +/-Inf values
for integer types.   So you'd have to just use (e.g.)
2147483647/-2147483648 or some other large-enough value.
I wasn't sure if that had been the reason for restricting it to
floating point in the first place.

--
Mark Taylor   Astronomical Programmer   Physics, Bristol University, UK
m.b.taylor at bris.ac.uk +44-117-9288776  http://www.star.bris.ac.uk/~mbt/


More information about the dal mailing list