Function Trunc

 

The Trunc function computes a rounded towards zero integer value for each vector element.

 

Performance:

Dual-Core
 Intel(R) Xeon(R) processor 5100 Series
 45nm Intel(R)
Core(TM)2 Duo processor
Intel(R) Itanium(R) 2 processor
single HA 2.30 1.07 2.12
LA 2.30 1.07 2.12
EP 2.30 1.07 2.12
double HA 4.31 1.94 2.12
LA 4.31 1.94 2.12
EP 4.31 1.94 2.12


Notes:
1) Units - CPE (Clocks per Element)
2) Performance was measured on "working" interval (double precision: [-10000.0, 10000.0]; single precision: [
-10000.0, 10000.0])
3) Data - vectors of 1000 elements with random generated numbers.

 

Accuracy:

Dual-Core
 Intel(R) Xeon(R) processor 5100 Series
 45nm Intel(R)
Core(TM)2 Duo processor
Intel(R) Itanium(R) 2 processor
single HA 0.00 0.00 0.00
LA 0.00 0.00 0.00
EP 0.00 0.00 0.00
double HA 0.00 0.00 0.00
LA 0.00 0.00 0.00
EP 0.00 0.00 0.00

Note: Units - ULP (Units in The Last Place).

 

 

Performance Graphs:

     

 

Legal Information

Copyright © 2000-2008, Intel Corporation.