On 12/12/2014 11:20 AM, Sage Weil wrote:

We can't use floating point. The code needs to run in the kernel.  We also
need the rseults to be perfectly deterministic and consistent across all
architectures; I'm not sure if all floating point implementations (and log
implementations) will do that?

Nope ... that is a whole different subject. Ok, why not start looking at what some of the GFX folks do?

https://graphics.stanford.edu/~seander/bithacks.html#IntegerLog


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to