Use GCC binary constants format
Open
Component: Core
Component: Documentation
feature request
Library: Other
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
https://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html
This would allow a simpler solution to binary number constants and the file binary.h https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/binary.h becomes unnecessary.
Motivation: Standard, less complex, portability, reduce error risk (unsigned/signed/number size), reduce source code size.
Drawbacks: Large ripple effect on code that uses the Arduino "binary" format.
Contributor guide
Assessment
This issue has not been assessed yet.