F
filox
not sure is it a c++ or a c question, but since i'm using c++, i'll ask
here...
i would like to use bit operators (&, |, <<), but on the type double,
because it has 64 bits. unfortunately, it seems i can't do that. can i
somehow define my own type that has the desired number of bits (i.e. using
bit fields) and then use those operators on that type?
here...
i would like to use bit operators (&, |, <<), but on the type double,
because it has 64 bits. unfortunately, it seems i can't do that. can i
somehow define my own type that has the desired number of bits (i.e. using
bit fields) and then use those operators on that type?