blob: 3e44cdf1cc85f4e74ae8ac67336c93abe0b8f555 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionMathUnary.h>
namespace DB
{
namespace
{
struct Log1pName
{
static constexpr auto name = "log1p";
};
using FunctionLog1p = FunctionMathUnary<UnaryFunctionVectorized<Log1pName, log1p>>;
}
REGISTER_FUNCTION(Log1p)
{
factory.registerFunction<FunctionLog1p>();
}
}
|