Skip to content

Commit 820efe2

Browse files
committed
explain
1 parent 406c7dd commit 820efe2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/intrinsics/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
275275
_ => bug!(),
276276
};
277277
let res = this.wrapping_binary_op(op, &a, &b)?;
278+
// `wrapping_binary_op` already called `generate_nan` if necessary.
278279
this.write_immediate(*res, dest)?;
279280
}
280281

0 commit comments

Comments
 (0)