[libc-commits] [PATCH] D79278: [libc] Fix how math results are compared with MPFR results.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 6 10:46:54 PDT 2020


sivachandra added inline comments.


================
Comment at: libc/utils/MPFRWrapper/MPFRUtils.cpp:29
+
+  static constexpr uint32_t mantissaWidth = 23;
+  static constexpr uint32_t signMask = 0x7FFFFFFFU;
----------------
abrachet wrote:
> Is there any way to identify the floating point standard being used? Is IEEE 754 just used everywhere?
Its just IEEE 754 used everywhere. If we add support for other formats, then we can specialize then may be.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79278





More information about the libc-commits mailing list