prod

inline virtual int64_t libsemigroups::MinPlusSemiring::prod(int64_t x, int64_t y) const override

Returns libsemigroups::POSITIVE_INFINITY if either parameter equals libsemigroups::POSITIVE_INFINITY, otherwise returns the usual integer sum of the parameters.