-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BED spec doesn't handle give an opinion on NaN in numeric fields #634
Comments
(See also #409 re practicalities encountered when we added |
Thanks John, I've heard anecdotally that people are using |
@michaelmhoffman When the specification was written was it a deliberate choice to reference an outdated version of the IEEE document, that doesn't say anything about representation of NaN? Should BED simply follow the VCF pull request John has linked? |
This was not a deliberate choice. However, section 3 is recommendations, and it is not, strictly speaking, normative. I don't want to get into this level of detail for a change to the recommendations. Better to include them in a future version of a BED standard, where they are normative. (And I think it is quite sensible to use the latest IEEE standard then.) I am planning on leaving this issue open, as it will be a good reminder for this when considering in-band methods for specifying custom field types. |
Section 3.3 of the specification has:
and links to "IEEE Standard for Binary Floating-Point Arithmetic. IEEE 754–1985, 1985". This IEEE specification does not specify how NaNs should be represented as strings (from section 5.6).
However, the above specification is superceeded by a 2008 version and then also a 2019 minor revision. Section 5.12.1 of the 2008 edition provides more details:
The text was updated successfully, but these errors were encountered: