ridiculousfish / libdivide

Official git repository for libdivide: optimized integer division
http://libdivide.com
Other
1.09k stars 77 forks source link

Fix hang on 0 in libdivide__count_leading_zeros*() #25

Closed kimwalisch closed 8 years ago

kimwalisch commented 8 years ago

This pull request fixes the issue discussed in #24.

kimwalisch commented 8 years ago

I just realized that my pull request is actually the same code change as the pull request https://github.com/ridiculousfish/libdivide/pull/7 from @dczarnec from 2014. I suggest to merge my pull request and close the other one https://github.com/ridiculousfish/libdivide/pull/7.