pub fn unary_with_bitmap<I, F, O>(
    array: &PrimitiveArray<I>,
    op: F,
    data_type: DataType
) -> (PrimitiveArray<O>, Bitmap) where
    I: NativeType,
    O: NativeType,
    F: Fn(I) -> (O, bool), 
Expand description

Version of unary that returns an array and bitmap. Used when working with overflowing operations