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

Use bignumber.js in internal Decimal Literal #1266

Open
jitsedesmet opened this issue Sep 13, 2023 · 0 comments
Open

Use bignumber.js in internal Decimal Literal #1266

jitsedesmet opened this issue Sep 13, 2023 · 0 comments

Comments

@jitsedesmet
Copy link
Member

The expression evaluator already uses bignumber.js to perform evaluations. However, this is not enough, an XSD decimal is unbounded, that means that after the calculations, we need to keep the value as a bignumber.

This means the DecimalLiteral typed value should be a bignumber in order to be spec compliant.

This is originally mentioned in an issue of the sparqlee repo: comunica/sparqlee#45.

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

No branches or pull requests

2 participants