MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / AR_SUB

Function AR_SUB

src/arithmetic/numeric_funcs/numeric_funcs.c:28–31  ·  view source on GitHub ↗

returns the subtracting given values. */

Source from the content-addressed store, hash-verified

26
27/* returns the subtracting given values. */
28SIValue AR_SUB(SIValue *argv, int argc, void *private_data) {
29 if(SIValue_IsNull(argv[0]) || SIValue_IsNull(argv[1])) return SI_NullVal();
30 return SIValue_Subtract(argv[0], argv[1]);
31}
32
33/* returns the multiplication of given values. */
34SIValue AR_MUL(SIValue *argv, int argc, void *private_data) {

Callers

nothing calls this directly

Calls 3

SIValue_IsNullFunction · 0.85
SI_NullValFunction · 0.85
SIValue_SubtractFunction · 0.85

Tested by

no test coverage detected