Currently, bitwise operations return 0 when working with values above 65535 (equivalent to having the first 16 bits set to 1).
Integer precision for single-precision floats stops after 2**24 (16777216), therefore bitwise operations could be allowed until 16777215 (equivalent to having 24 bits set to 1)
This would give us 8 more flags to play with in variables treated as bitfields.
ID:2374759
Jun 7 2018, 3:51 am
|
|||||||
Resolved
| |||||||
Jun 7 2018, 10:20 am
|
|
+1
|
I'll add this to the List. It's way overdue. I used to be a lot more concerned about legacy code having an issue with this, but frankly I think that's highly unlikely.
|