mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
f6c264b70b
* Every function in its own file, part 9 [#CLICKHOUSE-2] * Every function in its own file, part 9 [#CLICKHOUSE-2]
24 lines
453 B
C++
24 lines
453 B
C++
#include <Functions/FunctionMathUnaryFloat64.h>
|
|
#include <Functions/FunctionFactory.h>
|
|
#include <common/preciseExp10.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct Exp10Name { static constexpr auto name = "exp10"; };
|
|
|
|
using FunctionExp10 = FunctionMathUnaryFloat64<UnaryFunctionVectorized<Exp10Name,
|
|
#if USE_VECTORCLASS
|
|
exp10
|
|
#else
|
|
preciseExp10
|
|
#endif
|
|
>>;
|
|
|
|
void registerFunctionExp10(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionExp10>();
|
|
}
|
|
|
|
}
|