[PATCH] D158102: APFloat: Add getExactLog2Abs

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 16 11:14:16 PDT 2023


arsenm created this revision.
arsenm added reviewers: foad, jcranmer-intel, kpn, andrew.w.kaylor, sepavloff.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Like the recently added getExactLog2 except ignore the sign bit.


https://reviews.llvm.org/D158102

Files:
  llvm/include/llvm/ADT/APFloat.h
  llvm/lib/Support/APFloat.cpp
  llvm/unittests/ADT/APFloatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158102.550818.patch
Type: text/x-patch
Size: 4417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230816/760657a9/attachment.bin>


More information about the llvm-commits mailing list