Function Cos
The Cos function computes a cosine.
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 | |
| vsCos (HA version) | 44.30 | 45.44 | 19.46 | 20.46 | 7.18 | 
| vdCos (HA version) | 53.12 | 52.67 | 35.76 | 37.24 | 9.23 | 
 
 
 
 
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 | |
| vsCos (HA version) | 0.8010 | 0.8010 | 0.8010 | 0.8010 | 0.5003 | 
| vdCos (HA version) | 0.9151 | 0.9151 | 0.5131 | 0.5280 | 0.5067 | 
Special values:
| Function | Input Argument | Result | Default processor | Pentium III processor | Pentium 4 processor | Pentium 4 processor with SSE3 | Itanium 2 processor | 
| vsCos/vdCos (HA version) | 0 | 1 | + | + | + | + | + | 
| NaN (Both QNaN and SNaN) | NaN (Raise Invalid Exeption for SNaN) | + | + | + | + | + | |
| +/- Inf | NaN | + | + | + | + | + | 
Copyright © 2000-2004, Intel Corporation, All Rights Reserved.