Function Tanh
The Tanh function computes a hyperbolic tangent.
Performance:
Default processor | Intel® Pentium® III processor | Intel® Pentium® 4 processor | Intel® Pentium® 4 processor with Streaming SIMD Extensions 3 (SSE3) | Intel® Itanium® 2 processor | |
vsTanh (HA version) | 52.35 | 52.36 | 21.82 | 27.46 | 6.68 |
vdTanh (HA version) | 94.87 | 96.26 | 55.94 | 67.30 | 10.36 |
Notes:
1) *
X87 code for all processors
2) **
Intel® Pentium® III processor
3) ***
Intel® Pentium® 4 processor
4) ****
Intel® Pentium® 4 processor with Streaming SIMD Extensions 3 (SSE3)
5) *****
Intel® Itanium® 2 processor
6) Logarithmic scale is used for "Vectors Size" axis
Maximal observed error for the whole function domain:
Default processor | Pentium III processor | Pentium 4 processor | Pentium 4 processor with SSE3 | Itanium 2 processor | |
vsTanh (HA version) | 0.7611 | 0.7611 | 0.5051 | 0.5051 | 0.5061 |
vdTanh (HA version) | 0.8777 | 0.8777 | 0.5293 | 0.7442 | 0.5012 |
Special values:
Function | Input Argument | Result | Default processor | Pentium III processor | Pentium 4 processor | Pentium 4 processor with SSE3 | Itanium 2 processor |
vsTanh/vdTanh (HA version) |
0 | 0 | + | + | + | + | + |
+/- Inf | +/- 1 | + | + | + | + | + | |
NaN (Both QNaN and SNaN) | NaN | + | + | + | + | + |
Copyright © 2000-2004, Intel Corporation, All Rights Reserved.