[libc-commits] [PATCH] D105153: [libc] Add on float properties for precision floating point numbers in FloatProperties.h

Hedin GarcĂ­a via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jun 30 13:23:57 PDT 2021


hedingarcia updated this revision to Diff 355673.
hedingarcia edited the summary of this revision.
hedingarcia added a comment.

[libc] Fix of the patch, redefining bit mask so they become easier to maintain

Use width integer values to specify bit masks in order to maintain a compact value and not depend
on long inline literals. The value of exponentWidth became more helpful since signMask uses it in
all the single, double, and quad implementation. A fix was made for the exponentMask in the 80-bit
quad precision struct since the previous  mask was not taking care of the extra bits used for padding.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105153/new/

https://reviews.llvm.org/D105153

Files:
  libc/utils/FPUtil/FloatProperties.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105153.355673.patch
Type: text/x-patch
Size: 4501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210630/48dbe6f2/attachment.bin>


More information about the libc-commits mailing list