[libcxx-commits] [libcxx] [libc++][test][NFC] Use correct number of digits for <numbers> ground-truth values (PR #233664)

Eric Ross via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 19 21:02:52 PDT 2026


================
@@ -14,6 +14,9 @@
 #include "test_macros.h"
 
 constexpr bool tests() {
+  // Note: Use arbitrary precision with hundreds of digits when generating these
----------------
ZERICO2005 wrote:

Using hundreds of digits prevents double-rounding errors as pointed out here https://github.com/llvm/llvm-project/issues/188079#issuecomment-5613482059

https://github.com/llvm/llvm-project/pull/233664


More information about the libcxx-commits mailing list