37 #ifndef __TEMPORAL_MATHFUNCS_H__ 38 #define __TEMPORAL_MATHFUNCS_H__ 42 #include <catalog/pg_type.h> 75 extern int int_cmp(
const void *a,
const void *b);
Datum add_temporal_temporal(PG_FUNCTION_ARGS)
Datum datum_round(Datum value, Datum prec)
Round the number to the number of decimal places.
Definition: tnumber_mathfuncs.c:56
Datum mult_temporal_temporal(PG_FUNCTION_ARGS)
Datum mult_temporal_base(PG_FUNCTION_ARGS)
Datum add_base_temporal(PG_FUNCTION_ARGS)
int int_cmp(const void *a, const void *b)
Returns a negative or a positive value depending on whether the first number is less than or greater ...
Definition: tpoint_analytics.c:1065
Datum add_temporal_base(PG_FUNCTION_ARGS)
Datum sub_temporal_temporal(PG_FUNCTION_ARGS)
Definition: tnumber_mathfuncs.h:48
Datum div_temporal_base(PG_FUNCTION_ARGS)
Datum div_base_temporal(PG_FUNCTION_ARGS)
Definition: tnumber_mathfuncs.h:50
Definition: tnumber_mathfuncs.h:49
Definition: tnumber_mathfuncs.h:52
Datum div_temporal_temporal(PG_FUNCTION_ARGS)
Datum mult_base_temporal(PG_FUNCTION_ARGS)
TArithmetic
Enumeration for the arithmetic functions.
Definition: tnumber_mathfuncs.h:46
Datum sub_temporal_base(PG_FUNCTION_ARGS)
Datum sub_base_temporal(PG_FUNCTION_ARGS)
Definition: tnumber_mathfuncs.h:51