ExpPow Method

Create "power" operator that raises a "base" to the "exponent" power. All arguments must resolve to floats. Requires server version 5.6.0+.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp Pow(
	Exp base,
	Exp exponent
)

Parameters

base  Exp
 
exponent  Exp
 

Return Value

Exp

Example

C#
// pow(a, 2.0) == 4.0
Exp.EQ(
  Exp.Pow(Exp.FloatBin("a"), Exp.Val(2.0)),
  Exp.Val(4.0));

See Also