mul_bounds

Function mul_bounds 

Source
fn mul_bounds<const UPPER: bool>(
    dt: &DataType,
    lhs: &ScalarValue,
    rhs: &ScalarValue,
) -> ScalarValue
Expand description

Helper function used for multiplying the end-point values of intervals.

Caution: This function contains multiple calls to unwrap(), and may return non-standardized interval bounds. Therefore, it should be used with caution. Currently, it is used in contexts where the DataType (dt) is validated prior to calling this function, and the following interval creation is standardized with Interval::new.