MCPcopy Create free account
hub / github.com/apache/madlib / element_add

Function element_add

methods/array_ops/src/pg_gp/array_ops.c:1419–1425  ·  view source on GitHub ↗

* Assign result to be (elt1 + elt2). */

Source from the content-addressed store, hash-verified

1417 * Assign result to be (elt1 + elt2).
1418 */
1419static
1420inline
1421Datum
1422element_add(Datum element, Oid elt_type, Datum result,
1423 Oid result_type, Datum opt_elt, Oid opt_type){
1424 return element_op(element, elt_type, result, result_type, opt_elt, opt_type, float8_add);
1425}
1426
1427/*
1428 * Assign result to be (elt1 - elt2).

Callers

nothing calls this directly

Calls 1

element_opFunction · 0.85

Tested by

no test coverage detected