IP FUN [LFTA_LEGAL, COST FREE] UMIN (IP,IP);
IP FUN [LFTA_LEGAL, COST FREE] UMAX (IP,IP);
+///////////////////////////////////////////////////////////
+// conditional functions
+///////////////////////////////////////////////////////////
+
+ uint FUN [LFTA_LEGAL, COST FREE] EQ (uint, uint);
+ uint FUN [LFTA_LEGAL, COST FREE] EQ (int, int);
+ uint FUN [LFTA_LEGAL, COST FREE] EQ (ullong, ullong);
+ uint FUN [LFTA_LEGAL, COST FREE] GEQ (uint, uint);
+ uint FUN [LFTA_LEGAL, COST FREE] GEQ (int, int);
+ uint FUN [LFTA_LEGAL, COST FREE] GEQ (ullong, ullong);
+ uint FUN [LFTA_LEGAL, COST FREE] LEQ (uint, uint);
+ uint FUN [LFTA_LEGAL, COST FREE] LEQ (int, int);
+ uint FUN [LFTA_LEGAL, COST FREE] LEQ (ullong, ullong);
+
+
///////////////////////////////////////////////////////////
// Function for regex matching
///////////////////////////////////////////////////////////
ullong FUN [LFTA_LEGAL,COST FREE]ULLONG(uint);
ullong FUN [LFTA_LEGAL,COST FREE]ULLONG(int);
+///////////////////////////////////////////////////////////
+// Numeric functions
+///////////////////////////////////////////////////////////
+
+ float FUN [LFTA_LEGAL, COST LOW] sqrt(float);
+
///////////////////////////////////////////////////////////
// Convert an IPv4 address
BOOL SFUN local_count manku_hh_state (UINT);
int SFUN current_bucket manku_hh_state ();
+///////////////////////////////////////////////////////////
+// Flips approximate quantile
+///////////////////////////////////////////////////////////
+
+ uint EXTR quantile_of quant_udaf_hfta0 extr_quant_hfta0_fcn (uint, float);
+ uint FUN [COST LOW] extr_quant_hfta0_fcn(string, float);
+ uint EXTR median_of quant_udaf_hfta0 extr_med_hfta0_fcn (uint);
+ uint FUN [COST LOW] extr_med_hfta0_fcn(string);
+ uint EXTR qspace_of quant_udaf_hfta0 extr_quant_hfta0_space (uint);
+ uint FUN [COST LOW] extr_quant_hfta0_space(string);
+ string UDAF [SUBAGGR quant_udaf_lfta3, SUPERAGGR quant_udaf_hfta3] quant_udaf_hfta0 fstring16 (uint);
+ string UDAF quant_udaf_hfta3 fstring16 (string);
+ string UDAF quant_udaf_lfta3 fstring6600 (uint);
+
///////////////////////////////////////////////////////////
// FIRST and LAST aggregation funciton
// Should be replaced by builtins
string UDAF [RUNNING, SUBAGGR running_array_aggr_lfta, SUPERAGGR running_array_aggr_hfta] running_array_aggr string (uint);
string UDAF [RUNNING] running_array_aggr_hfta string (string);
string UDAF [RUNNING] running_array_aggr_lfta fstring17 (uint);
-
\ No newline at end of file
+