We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
float for usbVersion; octet for deviceClass etc.; ...
If there's no intention for people to do arithmetic on these, I'd definitely suggest strings.
Floats are especially problematic since e.g. usbVersion: 3.1 actually means usbVersion: 3.10000000000000008882.
usbVersion: 3.1
usbVersion: 3.10000000000000008882
The text was updated successfully, but these errors were encountered:
Commit 0c16cf6 resolved this by creating a USBVersionNumber struct to represent versions.
Sorry, something went wrong.
But... Why?? Majorly overcomplicated.
Whatever, we can leave it for the TAG review.
reillyeon
No branches or pull requests
float for usbVersion; octet for deviceClass etc.; ...
If there's no intention for people to do arithmetic on these, I'd definitely suggest strings.
Floats are especially problematic since e.g.
usbVersion: 3.1
actually meansusbVersion: 3.10000000000000008882
.The text was updated successfully, but these errors were encountered: