Re:Intel Underestimates Error Bounds by 1.3 Quintillion
by Thrymr on Thursday October 09, 2014 @07:54PM
(#8435584)
> Just storing those 4 values in 4 bits is more efficient.
That doesn't really work for version numbers > 1. They're not just flags.
Re:Intel Underestimates Error Bounds by 1.3 Quintillion
by njr123 on Thursday October 09, 2014 @08:12PM
(#8435631)
How do you store a version number in a single bit?
Just storing those 4 values in 4 bits is more efficient.
Checking that a bit is set is also a simple AND + CMP. Which beats out a DIV + CMP.
Sorry I just had not considered this isn't common knowledge outside C or C++ land.