Skip to main content

abs

Returns the absolute value of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

acos

Returns the arc cosine of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

asin

Returns the arc sine of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

atan

Returns the arc tangent of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

atan2

Returns the arc tangent of y / x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

cbrt

Returns the cube root of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

ceil

This is an alias for ceiling(). Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

ceiling

Returns x rounded up to the nearest integer. Supported Signatures
๐Ÿ”— Official Documentation

cos

Returns the cosine of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

cosh

Returns the hyperbolic cosine of the given value. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

degrees

Converts angle x in radians to degrees. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

exp

Returns Eulerโ€™s number raised to the power of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

floor

Returns x rounded down to the nearest integer. Supported Signatures
๐Ÿ”— Official Documentation

is_nan

Determine if x is not-a-number. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

ln

Returns the natural logarithm of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

log

Returns the base b logarithm of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

log10

Returns the base 10 logarithm of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

log2

Returns the base 2 logarithm of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

mod

Returns the modulus (remainder) of n divided by m. Supported Signatures
๐Ÿ”— Official Documentation

pi

Returns the constant Pi. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

pow

This is an alias for power(). Supported Signatures
๐Ÿ”— Official Documentation

power

Returns x raised to the power of p. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

radians

Converts angle x in degrees to radians. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

rand

This is an alias for random(). Supported Signatures
Note: rand() is volatile, i.e. might return a different value for the same input. ๐Ÿ”— Official Documentation

random

Returns a pseudo-random value in the range 0.0 <= x < 1.0. Examples:
examples.sql
Supported Signatures
Note: random() is volatile, i.e. might return a different value for the same input. ๐Ÿ”— Official Documentation

round

Returns x rounded to the nearest integer. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

sign

Returns the signum function of x, that is. Supported Signatures
๐Ÿ”— Official Documentation

sin

Returns the sine of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

sinh

Returns the hyperbolic sine of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

sqrt

Returns the square root of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

tan

Returns the tangent of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

tanh

Returns the hyperbolic tangent of x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

truncate

Returns x rounded to integer by dropping digits after decimal point. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation