mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
17 lines
457 B
C++
17 lines
457 B
C++
|
#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>;
|
||
|
}
|