[PATCH] D154765: APFloat: Add some missing function declarations

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 8 05:18:10 PDT 2023


tstellar created this revision.
tstellar added a reviewer: timshen.
Herald added a project: All.
tstellar requested review of this revision.
Herald added a project: LLVM.

Theses functions were added in fd1e5aa8dffa8b26e59fb340668b264b9ac80382
without a declaration.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154765

Files:
  llvm/include/llvm/ADT/APFloat.h


Index: llvm/include/llvm/ADT/APFloat.h
===================================================================
--- llvm/include/llvm/ADT/APFloat.h
+++ llvm/include/llvm/ADT/APFloat.h
@@ -1426,6 +1426,8 @@
 const APFloat &DoubleAPFloat::getFirst() const { return Floats[0]; }
 APFloat &DoubleAPFloat::getSecond() { return Floats[1]; }
 const APFloat &DoubleAPFloat::getSecond() const { return Floats[1]; }
+DoubleAPFloat scalbn(const DoubleAPFloat &Arg, int Exp, APFloat::roundingMode RM);
+DoubleAPFloat frexp(const DoubleAPFloat &X, int &Exp, APFloat::roundingMode);
 
 } // namespace detail
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154765.538359.patch
Type: text/x-patch
Size: 591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230708/d1f021ed/attachment.bin>


More information about the llvm-commits mailing list