diff options
author | das <das@FreeBSD.org> | 2011-10-21 06:29:32 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2011-10-21 06:29:32 +0000 |
commit | 3578083bd5e5c8cc7b2d82f501d5901051537ae4 (patch) | |
tree | e4935310dc992380b0af45c9fd0a57d6e8febb84 /contrib/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp | |
parent | f66ae96060daab6b90cb9d24fa049e4c17f3b80f (diff) | |
download | FreeBSD-src-3578083bd5e5c8cc7b2d82f501d5901051537ae4.zip FreeBSD-src-3578083bd5e5c8cc7b2d82f501d5901051537ae4.tar.gz |
Improved handling of large x in ccosh{,f}():
- Handle cases where exp(x) would overflow, but ccosh(x) ~= exp(x) / 2
shouldn't.
- Use the ccosh(x) ~= exp(x) / 2 approximation to simplify the calculation
when x is large.
Similarly for csinh(). Also fixed the return value of csinh(-Inf +- 0i).
Diffstat (limited to 'contrib/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp')
0 files changed, 0 insertions, 0 deletions