Developer Reference
Intel® oneAPI Math Kernel Library Vector Mathematics Performance and Accuracy Data
                    
                        ID
                        772989
                    
                
                
                    Date
                    12/04/2020
                
                
                    Public
                
            Cosd
Computes the cosine of vector elements multiplied by π/180.
Performance:
| Intel® Xeon® Processor E5-2680 | Intel® Xeon® Processor E5-2699 v3 | Intel® Xeon® Processor E5-2699 v4 | Intel® Xeon® Gold 6148 Processor | ||
|---|---|---|---|---|---|
| single | HA | 3.76 | 3.36 | 2.94 | 2.16 | 
| LA | 3.76 | 1.62 | 1.34 | 0.83 | |
| EP | 3.76 | 1.33 | 1.08 | 0.72 | |
| double | HA | 10.76 | 9.59 | 8.14 | 2.81 | 
| LA | 6.66 | 4.01 | 3.54 | 2.24 | |
| EP | 4.16 | 3.22 | 2.63 | 1.68 | |
      Notes: 
    
 
    - Units - CPE (Clocks per Element)
- Performance was measured on "working" interval (double precision: [ -10000.0, 10000.0 ]; single precision: [ -10000.0, 10000.0 ]) 
- Data - vectors of 1000 elements with random generated numbers. 
- All data was collected with 64-bit libraries. 
Accuracy:
| Intel® Xeon® Processor E5-2680 | Intel® Xeon® Processor E5-2699 v3 | Intel® Xeon® Processor E5-2699 v4 | Intel® Xeon® Gold 6148 Processor | ||
|---|---|---|---|---|---|
| single | HA | 0.50 | 0.50 | 0.50 | 0.50 | 
| LA | 2.03 | 2.03 | 2.03 | 2.03 | |
| EP | 2.69E+03 | 2.69E+03 | 2.69E+03 | 2.69E+03 | |
| double | HA | 0.50 | 0.50 | 0.50 | 0.52 | 
| LA | 2.82 | 2.82 | 2.82 | 2.83 | |
| EP | 6.14E+07 | 6.14E+07 | 6.14E+07 | 6.14E+07 | |
      NOTE: 
    
 Units - ULP (Units in the Last Place). 
   Performance Graphs:




 Parent topic: Trigonometric Functions