From 466dc5c3e7796f9fbf9ea8b81a86223ed882d951 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 6 Nov 2023 16:13:04 -0800 Subject: [PATCH] APFloat: Add some missing function declarations Theses functions were added in fd1e5aa8dffa8b26e59fb340668b264b9ac80382 without a declaration. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D154765 --- llvm/include/llvm/ADT/APFloat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/include/llvm/ADT/APFloat.h b/llvm/include/llvm/ADT/APFloat.h index ce258b86c2146..8c247bbcec90a 100644 --- a/llvm/include/llvm/ADT/APFloat.h +++ b/llvm/include/llvm/ADT/APFloat.h @@ -770,6 +770,8 @@ class DoubleAPFloat final : public APFloatBase { }; hash_code hash_value(const DoubleAPFloat &Arg); +DoubleAPFloat scalbn(const DoubleAPFloat &Arg, int Exp, IEEEFloat::roundingMode RM); +DoubleAPFloat frexp(const DoubleAPFloat &X, int &Exp, IEEEFloat::roundingMode); } // End detail namespace