]> git.eshelyaron.com Git - emacs.git/commit
Simplify 32-bit Android bit fiddling
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 May 2024 21:26:32 +0000 (14:26 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 19:12:39 +0000 (21:12 +0200)
commit055e008641df0d1acc8fdc83eb204a14e03a2194
treecc39fd7af5b284a96807306119a9240b37ff69a3
parentb7cc046304009027c97d27cfe08e79631bac4979
Simplify 32-bit Android bit fiddling

* src/sfnt.c: Include stdbit.h.
(sfnt_count_leading_zero_bits) [!INT64_MAX]: Remove this function,
which was confusingly named as it actually returned 31 minus the
number of leading zero bits.
(sfnt_multiply_divide_2) [!INT64_MAX]: Use stdc_leading_zeros instead.

(cherry picked from commit 21ed391440ec9c227f3d18cc222aab2d3d0f9e14)
src/sfnt.c