-
Notifications
You must be signed in to change notification settings - Fork 287
Closed
Description
The following functions are now implemented in InfluxQL.
- exp(x), ln(x), log(x, y), log2(x), log10(x)
- pow(x, y), sqrt(x)
- ceil(x), floor(x), round(x)
The x and y represent the arguments to the functions. All math functions can be used anywhere math can be used. Here are a few examples:
SELECT abs(x) FROM m
SELECT abs(mean(x)) FROM m
SELECT pow(x, 2) FROM m
SELECT pow(2, x) FROM m
SELECT pow(x, y) FROM m
It will also be usable inside of a where clause like other math functions.