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