Exp

Exp( value )
Exp( value )
Exp( value )
Exp( value )
exp( value )
Exp( value )

Description

The Exp function returns Euler’s number e (approximately 2.71828) raised to a power provided as the operand.

Parameters

Argument Type Definition and Requirements

value

Number

The power to raise e to.

Returns

A number which is the result of raising e to a power.

Examples

The query in the following example returns the Euler’s number raised to the power of 1.5.

Value result = await client.Query(
    Exp(1.5)
);
Console.WriteLine(result);
DoubleV(4.4816890703380645)
result, err := client.Query(
	f.Exp(1.5))

if err != nil {
	fmt.Fprintln(os.Stderr, err)
} else {
	fmt.Println(result)
}
4.4816890703380645
System.out.println(
    client.query(
        Exp(Value(1.5))
    ).get());
4.4816890703380645
client.query(
  q.Exp(1.5)
)
.then((ret) => console.log(ret))
.catch((err) => console.error('Error: %s', err))
4.4816890703380645
result = client.query(
  q.exp(1.5)
)
print(result)
4.4816890703380645
println(Await.result(
  client.query(
    Exp(1.5)
  ),
  5.seconds
))
4.4816890703380645

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!