1 | #include "duckdb/function/scalar/math_functions.hpp" |
---|---|
2 | #include "duckdb/common/exception.hpp" |
3 | |
4 | using namespace duckdb; |
5 | using namespace std; |
6 | |
7 | void BuiltinFunctions::RegisterMathFunctions() { |
8 | Register<AbsFun>(); |
9 | Register<SignFun>(); |
10 | |
11 | Register<CeilFun>(); |
12 | Register<FloorFun>(); |
13 | Register<RoundFun>(); |
14 | |
15 | Register<DegreesFun>(); |
16 | Register<RadiansFun>(); |
17 | |
18 | Register<CbrtFun>(); |
19 | Register<ExpFun>(); |
20 | Register<Log2Fun>(); |
21 | Register<Log10Fun>(); |
22 | Register<LnFun>(); |
23 | Register<PowFun>(); |
24 | Register<RandomFun>(); |
25 | Register<SetseedFun>(); |
26 | Register<SqrtFun>(); |
27 | |
28 | Register<PiFun>(); |
29 | |
30 | Register<BitCountFun>(); |
31 | } |
32 |