next up previous contents
Next: I-J Square Root of Up: Base Constants Previous: Base Constants   Contents

Subsections

E Euler Constant (Base of Natural Logarithm)

Usage

Returns a double (64-bit floating point number) value that represents Euler's constant, the base of the natural logarithm. Typical usage

   y = e

This value is approximately 2.718281828459045.

Example

The following example demonstrates the use of the e function.

--> e
ans = 
  <double>  - size: [1 1]
    2.718281828459045      
--> log(e)
ans = 
  <double>  - size: [1 1]
    1.000000000000000



2004-08-26