Skip to content

Update round-tripping of numbers #79

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

Merged
merged 3 commits into from
Apr 16, 2019
Merged

Conversation

gkellogg
Copy link
Member

to consider non-fractional numbers >= 0e21 and add test.

@gkellogg gkellogg requested a review from dlongley April 15, 2019 22:34
@gkellogg
Copy link
Member Author

Fixes #79.

@gkellogg gkellogg self-assigned this Apr 15, 2019
Co-Authored-By: gkellogg <[email protected]>
Co-Authored-By: gkellogg <[email protected]>
@gkellogg gkellogg merged commit 70599d7 into master Apr 16, 2019
@gkellogg gkellogg deleted the issue-75-number-rounttripping branch April 16, 2019 04:57
@pchampin
Copy link
Contributor

Shouldn't the 'Data model' of the Syntax document be updated accordingly?
It says:

a number (numbers with a non-zero fractional part, i.e., the result of a modulo‑1 operation, are interpreted as typed values with type xsd:double, all other numbers are interpreted as typed values with type xsd:integer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants