Skip to content
This repository was archived by the owner on Jan 1, 2026. It is now read-only.
/ FindingE Public archive

Compute Euler’s number (e) to millions of digits with high precision using a memory-efficient, streaming Python calculator.

License

Notifications You must be signed in to change notification settings

GouthamOfTheNP/FindingE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

High-Precision e Calculator

Overview

The High-Precision e Calculator is a tool designed to compute the mathematical constant e (Euler's number) to a high degree of precision. This project implements efficient algorithms to calculate e with arbitrary precision, suitable for scientific and educational purposes.

Features

  • Calculates the constant e to a user-specified number of decimal places.
  • Supports arbitrary precision arithmetic.
  • Efficient and optimized for performance.
  • Easy-to-use command-line interface.

Installation

To use the High-Precision e Calculator, clone the repository and install any required dependencies:

git clone https://github.com/yourusername/high-precision-e-calculator.git
cd high-precision-e-calculator
pip install -r requirements.txt

Usage

Run the calculator from the command line by specifying the number of decimal places:

python e_calculator.py --precision 100

This command computes e to 100 decimal places.

Example Output

e = 2.71828182845904523536028747135266249775724709369995...

How It Works

The calculator uses the following methods:

  • Series Expansion: Calculates e using the infinite sum of 1/n! for n=0 to infinity.
  • Arbitrary Precision Arithmetic: Utilizes Python's decimal module to handle high-precision calculations.

Contributing

Contributions are welcome! Please fork the repository and submit pull requests for bug fixes, improvements, or new features.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or support, please contact your.email@example.com.

About

Compute Euler’s number (e) to millions of digits with high precision using a memory-efficient, streaming Python calculator.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages