Added tests for denormal and underflow for simd exp()
authorErik Lindahl <erik@kth.se>
Thu, 31 Jul 2014 14:32:30 +0000 (16:32 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 1 Aug 2014 21:20:20 +0000 (23:20 +0200)
commit3c78eb7e5287622e704007e89503bb4e5a6145fc
tree7a9f4bc1daa8afd30d2d7ea1b3078a046aedb361
parentc929b623469f26e9519059e2cde445f9bb3cfc49
Added tests for denormal and underflow for simd exp()

The SIMD math functions are not expected to handle
the denormal range correctly, but it should at least
be clamped to zero rather than producing garbage
values. No changes required to the math function,
so it appears to pass these tests as-is.

Change-Id: I841c2948c81f6b62f42e60ff30ffd5e4f77926fa
src/gromacs/simd/tests/simd_math.cpp