Function Pow

The Pow function computes a power b.

Performance:

  Default processor Intel® Pentium® III processor Intel® Pentium® 4 processor Intel® Itanium® 2 processor
vsPow (HA version) 108.54 106.83 38.82 11.26
vdPow (HA version) 144.46 145.14 105.93 21.36
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 Pentium® III processor

 
Notes:
1) *           X87 code for all processors
2) **         Intel® Pentium® III processor
3) ***       Intel® Pentium® 4 processor
4) ****     Intel® Itanium® 2 processor
5) Logarithmic scale is used for "Vectors Size" axis

Maximal observed error for the whole function domain:

  Default processor Pentium III processor Pentium 4 processor Itanium 2 processor
vsPow (HA version) 0.5436 0.5436 0.5576 0.5084
vdPow (HA version) 0.7880 0.7880 0.5180 0.5002
Notes:
1) Units - ULP (Units in The Last Place)

Special values:

Function Input Argument Result Default processor Pentium III processor Pentium 4 processor Itanium 2 processor
vsPow/vdPow
(HA version)
Any x (even NaN) and y=0 1 + + + +
Any NaN (Both QNaN and SNaN) NaN (Raise Invalid Exeption for SNaN) + + + +
|x|>1, y=Inf Inf + + + +
|x|<1, y=Inf 0 + + + +
|x|>1, y=-Inf 0 + + + +
|x|<1, y=-Inf Inf + + + +
x=Inf, y>0 Inf + + + +
x=Inf, y<0 0 + + + +
x=-Inf, y odd pos. int - Inf + + + +
x=-Inf, y not odd and pos. int + Inf + + + +
x=-Inf, y odd neg. int 0 + + + +
x=-Inf, y not odd and neg. int 0 + + + +
x=-1, y=(+/-)Inf 1 + + + +
x=+1, y - any, even a NaN 1 + + + +
x<0 and y finite non-int NaN (Raise Invalid Exeption) + + + +
x=(+/-)0, y odd neg. int (+/-)Inf (Raise DZ Exeption) + + + +

Legal Information

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