1 | #include <Functions/FunctionMathUnary.h> |
---|---|
2 | #include <Functions/FunctionFactory.h> |
3 | #if !USE_VECTORCLASS |
4 | # include <common/preciseExp10.h> |
5 | #endif |
6 | |
7 | namespace DB |
8 | { |
9 | |
10 | struct Exp10Name { static constexpr auto name = "exp10"; }; |
11 | |
12 | using FunctionExp10 = FunctionMathUnary<UnaryFunctionVectorized<Exp10Name, |
13 | #if USE_VECTORCLASS |
14 | exp10 |
15 | #else |
16 | preciseExp10 |
17 | #endif |
18 | >>; |
19 | |
20 | void registerFunctionExp10(FunctionFactory & factory) |
21 | { |
22 | factory.registerFunction<FunctionExp10>(); |
23 | } |
24 | |
25 | } |
26 |