Why did they not extend the bitwise operators to include floating point values when they created C++?
It would be very helpful.
For example, one way to swap any variable (not floating point) is to use 3 xor's.
#define swap (a,b) a ^= b ^= a ^= b
However that doesnt work for floating point values because bitwise operators dont work for floating point values.
Anybody have some insight on why that ability is not included in C++?