summaryrefslogtreecommitdiffstats
path: root/vec_altivec_float4.h
diff options
context:
space:
mode:
Diffstat (limited to 'vec_altivec_float4.h')
-rw-r--r--vec_altivec_float4.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vec_altivec_float4.h b/vec_altivec_float4.h
index 36f0281..c11d6ab 100644
--- a/vec_altivec_float4.h
+++ b/vec_altivec_float4.h
@@ -434,13 +434,13 @@ namespace vecmathlib {
real_t maxval() const
{
- return std::fmax(std::fmax((*this)[0], (*this)[1]),
- std::fmax((*this)[2], (*this)[3]));
+ return vml_std::fmax(vml_std::fmax((*this)[0], (*this)[1]),
+ vml_std::fmax((*this)[2], (*this)[3]));
}
real_t minval() const
{
- return std::fmin(std::fmin((*this)[0], (*this)[1]),
- std::fmin((*this)[2], (*this)[3]));
+ return vml_std::fmin(vml_std::fmin((*this)[0], (*this)[1]),
+ vml_std::fmin((*this)[2], (*this)[3]));
}
real_t prod() const
{
OpenPOWER on IntegriCloud