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

Define ranged integer types #647

Open
annevk opened this issue Nov 7, 2024 · 1 comment · May be fixed by #648
Open

Define ranged integer types #647

annevk opened this issue Nov 7, 2024 · 1 comment · May be fixed by #648

Comments

@annevk
Copy link
Member

annevk commented Nov 7, 2024

Although tackling #87 is a pretty big endeavor, I wonder if we can start smaller, by defining things such as:

  • A 16-bit unsigned integer is an integer in the range 0 to 65535, inclusive.

This could be shared across Web IDL, URL, and Declarative Web Push. And probably other specifications.

@domenic
Copy link
Member

domenic commented Nov 13, 2024

This seems reasonable to me. Maybe with an XXX box pointing to the problems of #87, like how we haven't defined mathematical operations on 16-bit unsigned integers...

annevk added a commit that referenced this issue Nov 15, 2024
@annevk annevk linked a pull request Nov 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants