numerical_coercion

Function numerical_coercion 

Source
fn numerical_coercion(
    lhs_type: &DataType,
    rhs_type: &DataType,
) -> Option<DataType>
Expand description

A common set of numerical coercions that are applied for mathematical and binary ops to lhs_type and rhs_type.