File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1818namespace LIBC_NAMESPACE_DECL {
1919namespace fputil {
2020
21- #define DEFAULT_DOUBLE_SPLIT 27
22-
2321template <typename T> struct DefaultSplit ;
2422template <> struct DefaultSplit <float > {
2523 static constexpr size_t VALUE = 12 ;
2624};
2725template <> struct DefaultSplit <double > {
28- static constexpr size_t VALUE = DEFAULT_DOUBLE_SPLIT ;
26+ static constexpr size_t VALUE = 27 ;
2927};
3028
3129using DoubleDouble = NumberPair<double >;
Original file line number Diff line number Diff line change 2121namespace LIBC_NAMESPACE_DECL {
2222
2323#ifdef LIBC_TARGET_CPU_HAS_FMA
24- static constexpr unsigned SPLIT = DEFAULT_DOUBLE_SPLIT ;
24+ static constexpr unsigned SPLIT = fputil::DefaultSplit< double >::VALUE ;
2525#else
2626// When there is no-FMA instructions, in order to have exact product of 2 double
2727// precision with directional roundings, we need to lower the precision of the
You can’t perform that action at this time.
0 commit comments