[libc-commits] [llvm] [libc] [libc] Move printf long double to simple calc (PR #75414)
via libc-commits
libc-commits at lists.llvm.org
Thu Dec 21 13:29:40 PST 2023
================
@@ -13,18 +13,27 @@
#include "src/__support/CPP/type_traits.h"
#include "src/__support/FPUtil/FPBits.h"
+#include "src/__support/FPUtil/FloatProperties.h"
#include "src/__support/FPUtil/dyadic_float.h"
#include "src/__support/UInt.h"
#include "src/__support/common.h"
#include "src/__support/libc_assert.h"
+#include "src/__support/macros/attributes.h"
// This file has 5 compile-time flags to allow the user to configure the float
-// to string behavior. These allow the user to select which 2 of the 3 useful
-// properties they want. The useful properties are:
-// 1) Speed of Evaluation
-// 2) Small Size of Binary
-// 3) Centered Output Value
-// These are explained below with the flags that are missing each one.
+// to string behavior. These were used to explore tradeoffs during the design
+// phase, and can still be used to gain specific properties. Unless you
+// specifically know what you're doing, you should leave all these flags off.
----------------
michaelrj-google wrote:
none of the flags are set by default. Setting that flag turns off the new specialization.
https://github.com/llvm/llvm-project/pull/75414
More information about the libc-commits
mailing list