prod

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

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