Skip to content

Find the largest non-"Infinity" number in JavaScript. This number might vary per system; I don't know if it does or not.

License

Notifications You must be signed in to change notification settings

ProximaNova/Largest-possible-number-in-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Largest possible number in JavaScript

Render this HTML file to find the largest non-"Infinity" number in JavaScript. This number might vary per system; I don't know if it does or not.

Use one or more of the following to render the HTML file:

Results

The largest number that I could get was

179769313486231580793728971405303415079934132710037826936173778980444968292764750946649017977587207096330286416692887910946555547851940402630657488671505820681908902000708383676273854845817711531764475730270069855571366959622842914819860834936475292719074168444365510704342711559699508093042880177904174497791.9999999999

Add 0.0000000001 to that and you get

179769313486231580793728971405303415079934132710037826936173778980444968292764750946649017977587207096330286416692887910946555547851940402630657488671505820681908902000708383676273854845817711531764475730270069855571366959622842914819860834936475292719074168444365510704342711559699508093042880177904174497792.0000000000

which evaluates to "Infinity" in JavaScript.

About

Find the largest non-"Infinity" number in JavaScript. This number might vary per system; I don't know if it does or not.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages