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

Function AR_MUL

src/arithmetic/numeric_funcs/numeric_funcs.c:34–37  ·  view source on GitHub ↗

returns the multiplication of given values. */

Source from the content-addressed store, hash-verified

32
33/* returns the multiplication of given values. */
34SIValue AR_MUL(SIValue *argv, int argc, void *private_data) {
35 if(SIValue_IsNull(argv[0]) || SIValue_IsNull(argv[1])) return SI_NullVal();
36 return SIValue_Multiply(argv[0], argv[1]);
37}
38
39/* returns the division of given values. */
40SIValue AR_DIV(SIValue *argv, int argc, void *private_data) {

Callers

nothing calls this directly

Calls 3

SIValue_IsNullFunction · 0.85
SI_NullValFunction · 0.85
SIValue_MultiplyFunction · 0.85

Tested by

no test coverage detected