aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop/include/Gem/Utils/GemMath.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gem/develop/include/Gem/Utils/GemMath.h')
-rw-r--r--Gem/develop/include/Gem/Utils/GemMath.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Gem/develop/include/Gem/Utils/GemMath.h b/Gem/develop/include/Gem/Utils/GemMath.h
index 769edec..595c1d6 100644
--- a/Gem/develop/include/Gem/Utils/GemMath.h
+++ b/Gem/develop/include/Gem/Utils/GemMath.h
@@ -2,7 +2,7 @@
LOG
GEM - Graphics Environment for Multimedia
- Matrix class
+ Matrix class
Copyright (c) 1997-1999 Mark Danks. mark@danks.org
Copyright (c) Günther Geiger. geiger@epy.co.at
@@ -63,14 +63,14 @@ LOG
inline double fast_sqrt(double x)
{
- register double est = __frsqrte(x);
- return x * 0.5 * est * __fnmsub(est * est, x, 3.0);
+ register double est = __frsqrte(x);
+ return x * 0.5 * est * __fnmsub(est * est, x, 3.0);
}
inline float fast_sqrtf(float x)
{
- register float est = (float)__frsqrte(x);
- return x * 0.5f * est * __fnmsubs(est * est, x, 3.0f);
+ register float est = (float)__frsqrte(x);
+ return x * 0.5f * est * __fnmsubs(est * est, x, 3.0f);
}
#endif /* __ppc__ */
@@ -82,4 +82,4 @@ inline float fast_sqrtf(float x)
#endif /* _WIN32 */
-#endif // for header file
+#endif // for header file