[PATCH] D146542: [llvm][support] Fix ScopedPrinterTest on AIX

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 09:51:31 PDT 2023


jhenderson added inline comments.


================
Comment at: llvm/unittests/Support/ScopedPrinterTest.cpp:598
 
+  format("%5.1f", std::numeric_limits<double>::infinity()).snprint(Buf, sizeof(Buf));
+  std::string InfFloatStr(Buf);
----------------
Dumb question maybe, but why the "5.1"?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146542



More information about the llvm-commits mailing list