-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Fixes for issue #416 #933
Fixes for issue #416 #933
Conversation
Hi @sharmavishnu, I'm nanoFramework bot. A human will be reviewing it shortly. 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Thank you for looking into this. 👏
Let's wait on @MatthiasJentsch review and running all the others tests over this.
…ith 'X' Signed-off-by: Matthias Jentsch <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed the else block. We don't need to check formatCh == 'X' here.
Beside that it looks good to me. Tests are also working. I've tested only on ESP32. Good work!
Description
Fixed format generation for hexadecimal numbers that was causing issues with ToString("Xnn") calls.
Motivation and Context
For hexadecimal numbers, there is no concept of signed/unsigned. Also, floats are not represented in hexadecimal formatting like normal int/long.
How Has This Been Tested?
Tested with the following code:
Screenshots
Types of changes
Checklist:
Signed-off-by: @sharmavishnu