Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
The base-2 exponential function of x, which is 2 raised to the power x: 2^x.
exp2(
x)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
x | real |
✔️ | The value of the exponent. |
Returns the exponential value of x.
The following example shows how to use the exp2()
function to calculate the exponential value of 3.
print result = exp2(3)
Output:
result
--------
8