Apply clang-tidy-8 readability-uppercase-literal-suffix
[alexxy/gromacs.git] / src / gromacs / simd / impl_x86_sse2 / impl_x86_sse2_simd_float.h
index a11682c365c15c69c05e24e5e9ba2dd7f7df1c3d..4cfd589a29622637e732f0e7a0898e87a017ffa6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014,2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2016,2017,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.
@@ -329,7 +329,7 @@ static inline SimdFloat gmx_simdcall
 maskzRsqrt(SimdFloat x, SimdFBool m)
 {
 #ifndef NDEBUG
-    x.simdInternal_ = _mm_or_ps(_mm_andnot_ps(m.simdInternal_, _mm_set1_ps(1.0f)), _mm_and_ps(m.simdInternal_, x.simdInternal_));
+    x.simdInternal_ = _mm_or_ps(_mm_andnot_ps(m.simdInternal_, _mm_set1_ps(1.0F)), _mm_and_ps(m.simdInternal_, x.simdInternal_));
 #endif
     return {
                _mm_and_ps(_mm_rsqrt_ps(x.simdInternal_), m.simdInternal_)
@@ -340,7 +340,7 @@ static inline SimdFloat gmx_simdcall
 maskzRcp(SimdFloat x, SimdFBool m)
 {
 #ifndef NDEBUG
-    x.simdInternal_ = _mm_or_ps(_mm_andnot_ps(m.simdInternal_, _mm_set1_ps(1.0f)), _mm_and_ps(m.simdInternal_, x.simdInternal_));
+    x.simdInternal_ = _mm_or_ps(_mm_andnot_ps(m.simdInternal_, _mm_set1_ps(1.0F)), _mm_and_ps(m.simdInternal_, x.simdInternal_));
 #endif
     return {
                _mm_and_ps(_mm_rcp_ps(x.simdInternal_), m.simdInternal_)
@@ -398,7 +398,7 @@ frexp(SimdFloat value, SimdFInt32 * exponent)
     const __m128  exponentMask   = _mm_castsi128_ps(_mm_set1_epi32(0x7F800000));
     const __m128  mantissaMask   = _mm_castsi128_ps(_mm_set1_epi32(0x807FFFFF));
     const __m128i exponentBias   = _mm_set1_epi32(126); // add 1 to make our definition identical to frexp()
-    const __m128  half           = _mm_set1_ps(0.5f);
+    const __m128  half           = _mm_set1_ps(0.5F);
     __m128i       iExponent;
 
     iExponent               = _mm_castps_si128(_mm_and_ps(value.simdInternal_, exponentMask));