[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 08:27:29 PDT 2021


hedingarcia updated this revision to Diff 355898.
hedingarcia added a comment.

[libc] Fix of the patch, redefining mantissaWidth for the 80-bit long double and other properties

Renamed the variable names of exponentOffset to exponentBias for is the correct terminology.
Changed the mantissaWidth value to 63 in the 80-bit long double implementation and the 
corresponding masks for sign and exponent. Added also an explicitBit boolean in all single,
double, and quad precision. The purpose of this is to maintain a general template struct that
works for all architectures and the value of explicitBit is intended to be used in FPBits.h.


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


More information about the libc-commits mailing list