Function Sqrt

The Sqrt function computes a square root.

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
vsSqrt (HA version) 20.60 15.70 9.41 10.39 5.14
vdSqrt (HA version) 34.87 33.33 27.47 31.05 7.19
Notes:
1) Units - CPE (Clocks per Element)
2) Performance was measured on "working" interval (double precision: [-1,1]; single precision: [-1,1] )
3) Data - vectors of 1000 elements with random generated numbers
4) "Default" means X87 code for all IA-32 processors
5) Performance of "default" version was measured on Intel® Pentium® III processor

 
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
vsSqrt (HA version) 0.7294 0.7294 0.7294 0.5041 0.5000
vdSqrt (HA version) 0.7028 0.7028 0.5003 0.5003 0.5000
Notes:
1) Units - ULP (Units in The Last Place)

Special values:

Function Input Argument Result Default processor Pentium III processor Pentium 4 processor Pentium 4 processor with SSE3 Itanium 2 processor
vsSqrt/vdSqrt
(HA version)
+/- 0 +/- 0 + + + + +
NaN (Both QNaN and SNaN) NaN (Raise Invalid Exeption for SNaN) + + + + +
+ Inf + Inf + + + + +
- Inf NaN (Raise Invalid Exeption) + + + + +
x<0 NaN (Raise Invalid Exeption) + + + + +

Legal Information

Copyright © 2000-2004, Intel Corporation, All Rights Reserved.