1#include <Functions/FunctionFactory.h>
2#include <Functions/FunctionMathConstFloat64.h>
3
4namespace DB
5{
6
7struct EImpl
8{
9 static constexpr auto name = "e";
10 static constexpr double value = 2.7182818284590452353602874713526624977572470;
11};
12
13using FunctionE = FunctionMathConstFloat64<EImpl>;
14
15void registerFunctionE(FunctionFactory & factory)
16{
17 factory.registerFunction<FunctionE>();
18}
19
20}
21