MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / expr_divide

Function expr_divide

extensions/expression-language/Expression.cpp:888–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886}
887
888Value expr_divide(const std::vector<Value> &args) {
889 return expr_binary_op(args, [](long double a, long double b) {return a / b;}, [](int64_t a, int64_t b) {return a / b;}, true);
890}
891
892Value expr_mod(const std::vector<Value> &args) {
893 return expr_binary_op(args, [](long double a, long double b) {return std::fmod(a, b);}, [](int64_t a, int64_t b) {return a % b;});

Callers

nothing calls this directly

Calls 1

expr_binary_opFunction · 0.85

Tested by

no test coverage detected