diff --git a/code/vfmax_d.h b/code/vfmax_d.h index fd54ba52..d313153c 100644 --- a/code/vfmax_d.h +++ b/code/vfmax_d.h @@ -1,3 +1,3 @@ for (int i = 0; i < 2; i++) { - dst.fp64[i] = +(a.fp64[i], b.fp64[i]); + dst.fp64[i] = fmax(a.fp64[i], b.fp64[i]); } diff --git a/code/vfmax_s.h b/code/vfmax_s.h index f30ee8f5..fb4c6c10 100644 --- a/code/vfmax_s.h +++ b/code/vfmax_s.h @@ -1,3 +1,3 @@ for (int i = 0; i < 4; i++) { - dst.fp32[i] = +(a.fp32[i], b.fp32[i]); + dst.fp32[i] = fmax(a.fp32[i], b.fp32[i]); } diff --git a/code/vfmin_d.h b/code/vfmin_d.h index fd54ba52..5c807413 100644 --- a/code/vfmin_d.h +++ b/code/vfmin_d.h @@ -1,3 +1,3 @@ for (int i = 0; i < 2; i++) { - dst.fp64[i] = +(a.fp64[i], b.fp64[i]); + dst.fp64[i] = fmin(a.fp64[i], b.fp64[i]); } diff --git a/code/vfmin_s.h b/code/vfmin_s.h index f30ee8f5..0c0bef99 100644 --- a/code/vfmin_s.h +++ b/code/vfmin_s.h @@ -1,3 +1,3 @@ for (int i = 0; i < 4; i++) { - dst.fp32[i] = +(a.fp32[i], b.fp32[i]); + dst.fp32[i] = fmin(a.fp32[i], b.fp32[i]); } diff --git a/code/xvfmax_d.h b/code/xvfmax_d.h index 54c89c71..4a16351a 100644 --- a/code/xvfmax_d.h +++ b/code/xvfmax_d.h @@ -1,3 +1,3 @@ for (int i = 0; i < 4; i++) { - dst.fp64[i] = +(a.fp64[i], b.fp64[i]); + dst.fp64[i] = fmax(a.fp64[i], b.fp64[i]); } diff --git a/code/xvfmax_s.h b/code/xvfmax_s.h index 58023d9c..894b5045 100644 --- a/code/xvfmax_s.h +++ b/code/xvfmax_s.h @@ -1,3 +1,3 @@ for (int i = 0; i < 8; i++) { - dst.fp32[i] = +(a.fp32[i], b.fp32[i]); + dst.fp32[i] = fmax(a.fp32[i], b.fp32[i]); } diff --git a/code/xvfmin_d.h b/code/xvfmin_d.h index 54c89c71..31ba5757 100644 --- a/code/xvfmin_d.h +++ b/code/xvfmin_d.h @@ -1,3 +1,3 @@ for (int i = 0; i < 4; i++) { - dst.fp64[i] = +(a.fp64[i], b.fp64[i]); + dst.fp64[i] = fmin(a.fp64[i], b.fp64[i]); } diff --git a/code/xvfmin_s.h b/code/xvfmin_s.h index 58023d9c..a7eccac5 100644 --- a/code/xvfmin_s.h +++ b/code/xvfmin_s.h @@ -1,3 +1,3 @@ for (int i = 0; i < 8; i++) { - dst.fp32[i] = +(a.fp32[i], b.fp32[i]); + dst.fp32[i] = fmin(a.fp32[i], b.fp32[i]); }