[libc-commits] [PATCH] D100360: [libc] Make FPBits a union.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Apr 12 21:25:23 PDT 2021


sivachandra created this revision.
sivachandra added a reviewer: lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added a project: libc-project.
sivachandra requested review of this revision.

This helps us avoid the uncomfortable reinterpret-casts. Avoiding the
reinterpret casts prevents us from tripping the sanitizers as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100360

Files:
  libc/fuzzing/math/Compare.h
  libc/fuzzing/math/RemQuoDiff.h
  libc/src/math/generic/fmaf.cpp
  libc/test/src/math/LdExpTest.h
  libc/test/src/math/NextAfterTest.h
  libc/test/src/math/RoundToIntegerTest.h
  libc/test/src/math/sqrt_test.cpp
  libc/test/src/math/sqrtf_test.cpp
  libc/test/src/math/sqrtl_test.cpp
  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/TestHelpers.h
  libc/utils/MPFRWrapper/MPFRUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100360.337039.patch
Type: text/x-patch
Size: 43962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210413/11d7a86b/attachment-0001.bin>


More information about the libc-commits mailing list