Javascript can’t use 10100401822940525, its like ‘conn’ folder in windows. Why js would fail with this number?
You can check example,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In IEEE floating point type numbers, the larger the number gets, the bigger the gap between numbers. It makes sense when you look at how the number is stored.
Consider that there are are the same amount of possible values with a negative exponent as non-negative. That means that there are the same number of possible Numbers between 0 and 1 as there are between 1 and Infinity. Obviously the Numbers between 1 and Infinity as much further spaced out. This spacing is actually distributed so the further away you get from 0 the bigger the gap between possible stored numbers (There is no real max number, it’s just eventually you get to the point where no number is distinguishible from Infinity).
This actually works very well, because in most cases you need less precision when dealing with larger numbers. The difference between
10100401822940524and10100401822940526is much less significant than the difference between1and3relative to the size of the number. It’s much more important to be able to represent the number2than the number10100401822940525and you are limited to 64 bits.