[llvm] [APFloat] Add APFloat::format (PR #99088)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct  8 00:28:55 PDT 2024
    
    
  
================
@@ -1378,6 +1378,171 @@ TEST(APFloatTest, toString) {
   }
 }
 
+TEST(APFloatTest, format) {
+  auto doit_precision = [](const fltSemantics &S, const char *value,
+                           llvm::FloatStyle style, int precision,
+                           const char *expected) {
----------------
arsenm wrote:
```suggestion
                           StringRef expected) {
```
https://github.com/llvm/llvm-project/pull/99088
    
    
More information about the llvm-commits
mailing list