| 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 | } |
nothing calls this directly
no test coverage detected