[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
Thu Jul 1 09:44:46 PDT 2021


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

[libc] Fix of the patch, eliminated the explicitBit member

The explicitBit variable lost its purpose since the value of the bitWidth in all the float, 
double, and long double structs can be use to shift the exponent component of the floating
point number even for 80-bit long double. No need for it to be kept as a float property.
That is why the bitWidth value was changed in 80-bit from 128 to 80, this actually represents 
now the encoding width.


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.355923.patch
Type: text/x-patch
Size: 4798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210701/7ab4bd03/attachment.bin>


More information about the libc-commits mailing list