Function Powx

The Powx function computes a power b (where b is scalar).

Performance:

  Default processor Intel® Pentium® III processor Intel® Pentium® 4 processor Intel® Itanium® 2 processor
vsPowx (HA version) 106.25 105.98 39.22 9.44
vdPowx (HA version) 144.22 143.88 81.36 21.44
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® 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
vsPowx (HA version) 0.5000 0.5000 0.5440 0.5000
vdPowx (HA version) 0.8010 0.8010 0.5140 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 Itanium 2 processor
vsPowx/vdPowx
(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.