Skip to content

rberg89/e

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

e

e

Run command: node ./index.js

Modify EXEC_LIMIT to change amount of times executed

This project was inspired by this twitter post, but the code does not produce 2.7~ and I don't know why. https://twitter.com/fermatslibrary/status/1449027186267197463

Twitter post text: Pick a uniformly random number in [0,1] and repeat until the sum of the numbers picked is >1. You'll on average pick e≈2.718... numbers!

Releases

No releases published

Packages

No packages published