-
Key: XTCE13-109
-
Status: closed
-
Source: NASA ( Mr. James Kevin Rice)
-
Summary:
Dynamic lookup is sprinkled about the text to (only?) retrieve a numeric value but perhaps there should be an integer and float form. For example in calculating a dynamic array index, would it make sense if the referred to parameter is a float? we can agree any non-numeric is a error. If it's a float or integer, the slope and intercept are doubles – suggesting a double result. Well that may produce a fractional value of an array index – that doesn't make sense. one can round or chop as one sees fits but that's not documented. in this case integer only dynamic value would make more sense – the slope and intercept would be int/long and it would be in error to ref anything but an integer parameter type. other cases may allow for either data type. [edit] Discrete lookup DOES NOT have the same issue – it's value is a float. It however does need a default. I made an issue for that.
-
Reported: XTCE 1.2 — Thu, 9 Jul 2020 19:22 GMT
-
Disposition: Deferred — XTCE 1.3
-
Disposition Summary:
Reballot: Integer versus Float lookups could be a 2.0 enhancement
This issue is clearly annoying to the perfectionist, but an implementation can make an assumption that is reasonable and proceed. It is proposed to defer this to a later revision of XTCE.
-
Updated: Tue, 1 Jul 2025 15:04 GMT
XTCE13 — Dynamic look up should have integer and float forms
- Key: XTCE13-109
- OMG Task Force: XML Telemetric & Command Exchange Format 1.3 (XTCE) RTF