Skip to content
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

Add implementer advice for decnumber (and basenumber) float syntax #30

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion draft-ietf-cbor-edn-literals.md
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,10 @@ The following additional items should help in the interpretation:
least one of the optional parts starting with "." and "e" are
present, in which case it stands for a floating point value in the
usual decimal notation. Note that the grammar now allows `3.` for
`3.0` and `.3` for `0.3` (also for hexadecimal floating point below).
`3.0` and `.3` for `0.3` (also for hexadecimal floating point
below); implementers are advised that some platform numeric parsers
accept only a subset of the floating point syntax in this document
and may require some preprocessing to use here.
* `basenumber` stands for an integer in the usual base 16/hexadecimal
("0x"), base 8/octal ("0o"), or base 2/binary ("0b") notation, unless the
optional part containing a "p" is present, in which case it stands
Expand Down
Loading