Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
ba5a97c2af1a37cac056e89cc1da0251fd1f3acc
/
.
/
examples
/
d
/
Max_array.d
blob: 21fec9ea7162d2c8db0967bc29dc6940a81886fc [
file
] [
log
] [
blame
] [
raw
]
// Hint: Try to compile with -O3 -release -boundscheck=off -mcpu=native
void
maxArray
(
double
[]
x
,
double
[]
y
)
{
for
(
int
i
=
0
;
i
<
65536
;
i
++)
{
if
(
y
[
i
]
>
x
[
i
])
x
[
i
]
=
y
[
i
];
}
}