[llvm] 466dc5c - APFloat: Add some missing function declarations

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 08:52:29 PST 2023


Author: Tom Stellard
Date: 2023-11-07T08:52:07-08:00
New Revision: 466dc5c3e7796f9fbf9ea8b81a86223ed882d951

URL: https://github.com/llvm/llvm-project/commit/466dc5c3e7796f9fbf9ea8b81a86223ed882d951
DIFF: https://github.com/llvm/llvm-project/commit/466dc5c3e7796f9fbf9ea8b81a86223ed882d951.diff

LOG: 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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ADT/APFloat.h b/llvm/include/llvm/ADT/APFloat.h
index ce258b86c2146be..8c247bbcec90a25 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
 


        


More information about the llvm-commits mailing list