Using a character constant with binary value doesn't always compute right.
Original Reporter info from Mantis: mkronman
-
Reporter name: Matti Kronman
Original Reporter info from Mantis: mkronman
- Reporter name: Matti Kronman
Description:
For example Byte(#%10101010) evaluates to 21, not 170 as expected.
Steps to reproduce:
Compile attachment and run.
Mantis conversion info:
- Mantis ID: 20821
- OS: Linux
- OS Build: 3.0.0-13
- Build: 2ubuntu1
- Platform: i386
- Version: 2.4.4
- Fixed in version: 3.0.0
- Fixed in revision: 19782 (#4a792627)