-
Notifications
You must be signed in to change notification settings - Fork 1
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
combining typed arrays with decimal fraction #1
Comments
It seems to be that this also could be applied to arrays that do not follow the typed array representation. I'm not sure we can retroactively change tag 4 to apply to arrays of integers as well, but we could define one or more scale tags for this purpose. For the typed array draft on which this is a comment, I don't see a need for change. Apologies for having missed this issue for so long. Still interested? |
What I had in mind was a compact representation of an array of numbers, like this:
but with several thousands of elements. |
Hi Marcin, this is indeed not an issue on the array-tags document, but I would like to keep the issue alive. I just don't have a document to attach it to... |
What would you think about combining decimal fractions (tag 4) with typed arrays from this proposal?
In a similar way as a single number can be stored as a pair of exponent and mantissa:
an array of numbers could be expressed as, for example, a single exponent and an array of mantissas:
Decimal fractions are not as popular as integers and floating point numbers, which makes it not as important, but I think it'd be a neat extension.
The text was updated successfully, but these errors were encountered: