int_abs

Function int_abs 

Source
fn int_abs<'tcx>(
    ecx: &mut MiriInterpCx<'tcx>,
    op: &OpTy<'tcx>,
    dest: &MPlaceTy<'tcx>,
) -> InterpResult<'tcx, ()>
Expand description

Calculates absolute value of integers in op and stores the result in dest.

In case of overflow (when the operand is the minimum value), the operation will wrap around.