Developer Reference

  • 2021
  • 12/04/2020
  • Public Content

Fdim

Returns vector containing the differences of the corresponding elements of the vector arguments if the first is larger and +0 otherwise.
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
1.09
0.63
0.53
0.46
LA
1.09
0.63
0.53
0.46
EP
1.09
0.63
0.53
0.46
double
HA
5.02
1.60
1.35
0.89
LA
5.01
1.59
1.35
0.89
EP
5.01
1.59
1.35
0.89
Notes:
  1. Units - CPE (Clocks per Element)
  2. Performance was measured on "working" interval (double precision: [ -10000.0, 10000.0 ] for both arguments; single precision: [ -10000.0, 10000.0 ] for both arguments)
  3. Data - vectors of 1000 elements with random generated numbers.
  4. 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
0.50
0.50
0.50
0.50
EP
0.50
0.50
0.50
0.50
double
HA
0.50
0.50
0.50
0.50
LA
0.50
0.50
0.50
0.50
EP
0.50
0.50
0.50
0.50
Note:
Units - ULP (Units in the Last Place).
 
Performance Graphs:
 

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.