miri::shims::x86

Function unary_op_f32

Source
fn unary_op_f32<'tcx>(
    this: &mut MiriInterpCx<'tcx>,
    which: FloatUnaryOp,
    op: &ImmTy<'tcx>,
) -> InterpResult<'tcx, Scalar>
Expand description

Performs which scalar operation on op and returns the result.