aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/exp10.cpp
blob: a21350c532c551265edc49bbf5093e7d2347a8ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <Functions/FunctionMathUnary.h>
#include <Functions/FunctionFactory.h>
#include <base/preciseExp10.h>

namespace DB
{
namespace
{

struct Exp10Name { static constexpr auto name = "exp10"; };
using FunctionExp10 = FunctionMathUnary<UnaryFunctionVectorized<Exp10Name, preciseExp10>>;

}

REGISTER_FUNCTION(Exp10)
{
    factory.registerFunction<FunctionExp10>();
}

}