pub(crate) fn apply_random_float_error<F: Float>(
ecx: &mut MiriInterpCx<'_>,
val: F,
err_scale: i32,
) -> FExpand description
Disturbes a floating-point result by a relative error in the range (-2^scale, 2^scale).
pub(crate) fn apply_random_float_error<F: Float>(
ecx: &mut MiriInterpCx<'_>,
val: F,
err_scale: i32,
) -> FDisturbes a floating-point result by a relative error in the range (-2^scale, 2^scale).