Name

exp, exp2, expm1 — exponential functions

Synopsis

exp( in x double precision);
 
exp2( in x double precision);
 
expm1( in x double precision);
 

Description

These functions work with double precision floating point numbers. They convert their argument to an IEEE 64-bit float and return a result of that type.

:  exp	raises e to the power of x (e^x).
:  exp2	raises 2 to the power of x (2^x).
:  expm1	returns exp(x) - 1, computed accurately for very small x.
    

Parameters

x

double precision

Return Values

exp returns a IEEE 64-bit float.

Examples

Example 24.110. Simple Examples

SQL> select concat ('the EXP of 0.513513 is: ', cast (exp (0.513513) as varchar));
callret
VARCHAR
_______________________________________________________________________________

the EXP of 0.513513 is: 1.671152

1 Rows. -- 3 msec.
      

See Also

log, log10, power, sqrt,


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®