EXP

Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API

Returns the exponential value of a number (e raised to the given power).

Syntax 

1exp(<x>)

Arguments 

Required 

  • <x>: The exponent.

Returns 

Returns the exponential value as a double precision value.

Examples 

Compute an Exponential 

Raise e to the power of 1.

1SELECT exp(1.0) AS result;

Returns 2.71828182845905.

Exponential of Zero 

Raising e to the power of 0 returns 1.

1SELECT exp(0) AS result;

Returns 1.

Related Documentation