mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 02:23:14 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
21 lines
396 B
C++
21 lines
396 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionMathConstFloat64.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct EImpl
|
|
{
|
|
static constexpr auto name = "e";
|
|
static constexpr double value = 2.7182818284590452353602874713526624977572470;
|
|
};
|
|
|
|
using FunctionE = FunctionMathConstFloat64<EImpl>;
|
|
|
|
void registerFunctionE(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionE>();
|
|
}
|
|
|
|
}
|