ExpLog Method

Create "log" operator for logarithm of "num" with base "base". 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 Log(
	Exp num,
	Exp base
)

Parameters

num  Exp
 
base  Exp
 

Return Value

Exp

Example

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

See Also