Euler's Number

This function gives the numerical value of Euler's number accurate to 10,000 significant digits.

Download
Download

You are now following this Submission

Cite As

Kareem Elgindy (2026). Euler's Number (https://in.mathworks.com/matlabcentral/fileexchange/77046-euler-s-number), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.5

If d significant digits is needed, for 2 <= d <= 10,000, type vpa(en,d).

Download
1.0.4

This function can now give the numerical value of Euler's number accurate to 10,000 significant digits.

Download
1.0.3

This function can now give the numerical value of Euler's number accurate to 10,000 digits instead of just 16 significant digits.

Download
1.0.2

The acquired numerical value is a more accurate approximation to Euler's number than MATLAB numerical
approximation obtained using the usual command exp(1) in double-precision floating-point systems, as tested on MATLAB R2019b and R2020a.

Download
1.0.1

It is intended to use this code to perform additions, subtractions, multiplications, and divisions with Euler's number. If exponentiation or more accuracy is required use exp.

Download
1.0.0

Download