/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2019, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
static inline Simd4Float gmx_simdcall
simd4SetZeroF()
{
- return Simd4Float(0.0f);
+ return Simd4Float(0.0F);
}
for (std::size_t i = 0; i < res.simdInternal_.size(); i++)
{
- res.simdInternal_[i] = 1.0f / std::sqrt(x.simdInternal_[i]);
+ res.simdInternal_[i] = 1.0F / std::sqrt(x.simdInternal_[i]);
}
return res;
};
for (std::size_t i = 0; i < res.simdInternal_.size(); i++)
{
- res.simdInternal_[i] = mask.simdInternal_[i] ? a.simdInternal_[i] : 0.0f;
+ res.simdInternal_[i] = mask.simdInternal_[i] ? a.simdInternal_[i] : 0.0F;
}
return res;
}
for (std::size_t i = 0; i < res.simdInternal_.size(); i++)
{
- res.simdInternal_[i] = mask.simdInternal_[i] ? 0.0f : a.simdInternal_[i];
+ res.simdInternal_[i] = mask.simdInternal_[i] ? 0.0F : a.simdInternal_[i];
}
return res;
}
static inline float gmx_simdcall
reduce(Simd4Float a)
{
- float sum = 0.0f;
+ float sum = 0.0F;
for (std::size_t i = 0; i < a.simdInternal_.size(); i++)
{