MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / operator/

Method operator/

src/include/minja/minja.hpp:505–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503 return get<double>() * rhs.get<double>();
504 }
505 Value operator/(const Value& rhs) const {
506 if (is_number_integer() && rhs.is_number_integer())
507 return get<int64_t>() / rhs.get<int64_t>();
508 else
509 return get<double>() / rhs.get<double>();
510 }
511 Value operator%(const Value& rhs) const {
512 return get<int64_t>() % rhs.get<int64_t>();
513 }

Callers

nothing calls this directly

Calls 2

is_number_integerFunction · 0.85
is_number_integerMethod · 0.80

Tested by

no test coverage detected