fls() should find the most significant bit of an int faster than a
linear search can, so use it to avoid a linear search in isqrt.
Approved by: kib (mentor), markj (mentor)
Differential Revision: https://reviews.freebsd.org/D20102
fls() should find the most significant bit of an int faster than a Tags None Referenced Files None Subscribers None
Description
Details
|