Thread: Calculating e
View Single Post
Old 11-04-2007, 01:16 PM
Architect Architect is offline
Junior Member
Join Date: Oct 2007
Location: Netherlands
Posts: 14
Default Calculating e

So I managed to calculate e

e = 1 + 1/1! + 1/2! + 1/3! ....

up to 88 decimals. I used 120-176 for the term and 320-376 for the sum. The program that converts to decimals by multiplying with 10 and displaying the result digit by digit is actually larger than the program that calculates e.

Next project is turning the handwritten programs into nice assembler listings.

Perhaps I can find the mistake in the program as well. I used 47 bytes and that is 113 digits. I calculated up to 78! which has 115 digits and indeed the term was zero except for the very last bit. So over 110 digits should have been correct. Cannot be hardware, because 1 faulty bit in the delay line and absolutely nothing works.
Reply With Quote