@Override
    public Value multiply(Value value) {
        if (value instanceof TensorValue)
            return value.multiply(this);

        try {
            return mutable(this.value * value.asDouble());
        }
        catch (UnsupportedOperationException e) {
            throw unsupported("multiply", value);
        }
    }
Returns this or a mutable copy assigned the given value
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/evaluation/LongValue.java