mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 21:31:17 -06:00
6 lines
136 B
Rust
6 lines
136 B
Rust
pub fn max_array(x: &mut[f64; 65536], y: &[f64; 65536]) {
|
|
for i in 0..65536 {
|
|
x[i] = if y[i] > x[i] { y[i] } else { x[i] };
|
|
}
|
|
}
|