[libc-commits] [PATCH] D105561: [libc] Creating a struct that captures floating point encoding and manually arranges it sequentially in memory

Hedin GarcĂ­a via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jul 9 06:27:31 PDT 2021


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

[libc] Fixing shift in getExponent() and setExponent()

Refactoring the previous shift to retrieve and set the exponent 
with the mantissaWidth value in FPBits.h


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105561

Files:
  libc/test/src/math/LdExpTest.h
  libc/test/src/math/NextAfterTest.h
  libc/test/src/math/RoundToIntegerTest.h
  libc/test/src/math/SqrtTest.h
  libc/utils/FPUtil/BasicOperations.h
  libc/utils/FPUtil/DivisionAndRemainderOperations.h
  libc/utils/FPUtil/FPBits.h
  libc/utils/FPUtil/Hypot.h
  libc/utils/FPUtil/LongDoubleBitsX86.h
  libc/utils/FPUtil/ManipulationFunctions.h
  libc/utils/FPUtil/NearestIntegerOperations.h
  libc/utils/FPUtil/NextAfterLongDoubleX86.h
  libc/utils/FPUtil/NormalFloat.h
  libc/utils/FPUtil/Sqrt.h
  libc/utils/FPUtil/SqrtLongDoubleX86.h
  libc/utils/FPUtil/TestHelpers.cpp
  libc/utils/FPUtil/generic/FMA.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105561.357496.patch
Type: text/x-patch
Size: 42009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210709/c4f182b5/attachment-0001.bin>


More information about the libc-commits mailing list