80 if (
unlikely(isinf(r)) && !isinf(arg1) && !isinf(arg2))
110 if (
unlikely(isinf(r)) && !isinf(
a) && !isinf(
b))
175 &
tinfo, fcinfo->flinfo));
207 &
tinfo, fcinfo->flinfo));
Datum gbt_float8_same(PG_FUNCTION_ARGS)
struct float8key float8KEY
static bool gbt_float8eq(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_float8_picksplit(PG_FUNCTION_ARGS)
PG_FUNCTION_INFO_V1(gbt_float8_compress)
static bool gbt_float8gt(const void *a, const void *b, FmgrInfo *flinfo)
static float8 gbt_float8_dist(const void *a, const void *b, FmgrInfo *flinfo)
static const gbtree_ninfo tinfo
Datum gbt_float8_compress(PG_FUNCTION_ARGS)
Datum gbt_float8_fetch(PG_FUNCTION_ARGS)
Datum gbt_float8_distance(PG_FUNCTION_ARGS)
static bool gbt_float8le(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_float8ge(const void *a, const void *b, FmgrInfo *flinfo)
static int gbt_float8key_cmp(const void *a, const void *b, FmgrInfo *flinfo)
Datum float8_dist(PG_FUNCTION_ARGS)
Datum gbt_float8_union(PG_FUNCTION_ARGS)
static bool gbt_float8lt(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_float8_penalty(PG_FUNCTION_ARGS)
Datum gbt_float8_consistent(PG_FUNCTION_ARGS)
float8 gbt_num_distance(const GBT_NUMKEY_R *key, const void *query, bool is_leaf, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
GISTENTRY * gbt_num_fetch(GISTENTRY *entry, const gbtree_ninfo *tinfo)
bool gbt_num_consistent(const GBT_NUMKEY_R *key, const void *query, const StrategyNumber *strategy, bool is_leaf, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
bool gbt_num_same(const GBT_NUMKEY *a, const GBT_NUMKEY *b, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
GISTENTRY * gbt_num_compress(GISTENTRY *entry, const gbtree_ninfo *tinfo)
void * gbt_num_union(GBT_NUMKEY *out, const GistEntryVector *entryvec, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
GIST_SPLITVEC * gbt_num_picksplit(const GistEntryVector *entryvec, GIST_SPLITVEC *v, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
#define penalty_num(result, olower, oupper, nlower, nupper)
pg_noinline void float_overflow_error(void)
#define PG_GETARG_FLOAT8(n)
#define PG_RETURN_FLOAT8(x)
#define PG_GETARG_POINTER(n)
#define PG_GETARG_UINT16(n)
#define PG_RETURN_POINTER(x)
#define PG_RETURN_BOOL(x)
static Pointer DatumGetPointer(Datum X)