Skip to content

Commit 233a28d

Browse files
committed
Add comment for windows case
1 parent 0a42d0b commit 233a28d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fn_call.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ pub trait EvalContextExt<'a, 'mir, 'tcx: 'a + 'mir>: crate::MiriEvalContextExt<'
565565
let n = f.cbrt();
566566
this.write_scalar(Scalar::from_f64(n), dest)?;
567567
}
568+
// underscore case for windows
568569
"_hypot" | "hypot" => {
569570
let f1 = this.read_scalar(args[0])?.to_f64()?;
570571
let f2 = this.read_scalar(args[1])?.to_f64()?;

0 commit comments

Comments
 (0)