Topic
Everything filed under Low-level Programming, newest first.
RSS · JSON · All topics
Purplesyringa shows how to compute count-leading-zeros and count-trailing-zeros with floating-point bit tricks instead of native instructions, yielding a vectorizable polyfill in Rust, and explains why the exponent manipulation works.
4 min · 891 words