aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/IO/DoubleConverter.cpp
blob: 911da5eabce69d6caf8e3733dde7c1d02190cf5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <IO/DoubleConverter.h>

namespace DB
{
template <bool emit_decimal_point>
const double_conversion::DoubleToStringConverter & DoubleConverter<emit_decimal_point>::instance()
{
    static const double_conversion::DoubleToStringConverter instance{
        DoubleToStringConverterFlags<emit_decimal_point>::flags, "inf", "nan", 'e', -6, 21, 6, 1};

    return instance;
}

template class DoubleConverter<true>;
template class DoubleConverter<false>;
}