aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop/include/Gem/Utils/GemMath.h
diff options
context:
space:
mode:
authorTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2017-12-06 23:47:39 +0000
committerTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2017-12-06 23:47:39 +0000
commitc886922cc0b8c32ead0459b581f51ff60fdebbd4 (patch)
tree98c9b3036116ebfefde32c8c278639b767e2d305 /Gem/develop/include/Gem/Utils/GemMath.h
parentff954ec3b2de3f0bce8aee70680469468896df7d (diff)
Gem 427a3d0e61d61e64e76facfa905c120356383bab osx/x86_64
built 'master:427a3d0e61d61e64e76facfa905c120356383bab' for osx/x86_64
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