Joonas Sarajärvi ad3422f6aa Better fix glm::findMSB for GCC >= 4.0
The previous fix only worked correctly for values where
the most significant enabled bit was the only enabled bit.

This change changes the implementation back to using clz,
but so that the result is changed with additional arithmetics.

There is still at least one known limitation with regards
to acceptable input types, but this is documented in the code.
2012-09-12 15:17:21 +03:00
..
2012-08-22 18:22:06 +01:00
2012-06-28 17:01:02 +01:00
2011-01-19 16:02:13 +00:00
2012-01-09 11:20:01 +00:00
2012-01-09 11:20:01 +00:00