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

"Word" size + naming #2

Closed
Salil999 opened this issue Mar 18, 2019 · 3 comments
Closed

"Word" size + naming #2

Salil999 opened this issue Mar 18, 2019 · 3 comments

Comments

@Salil999
Copy link

Using a Word as 16-bits is a bit outdated and I think it can be more generalized + future proof. Is it possible to rename it to something like iWord16 or uWord32 to differentiate between signed and unsigned and specify the total number of bits being used?

@Salil999
Copy link
Author

Similar to #1

@francisrstokes
Copy link
Owner

I wouldn't be against adding those as aliases with an eye to deprecating them in the next version 👍

@francisrstokes
Copy link
Owner

Added fields:

  • U8
  • U16
  • U32
  • I8
  • I16
  • I32

And added a deprecation message in the docs.

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

No branches or pull requests

2 participants