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.
Examples
The query in the following example returns the Euler’s number raised to the power of 1.5.
try
{
Value result = await client.Query(
Exp(1.5)
);
Console.WriteLine(result);
}
catch (Exception e)
{
Console.WriteLine($"ERROR: {e.Message}");
}
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
try {
println(Await.result(
client.query(
Exp(1.5)
),
5.seconds
))} catch {
case unknown: Throwable => println("Error: " + unknown.getMessage())
}
4.4816890703380645
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
Visit Fauna's Discourse forums
or email docs@fauna.com
Thank you for your feedback!