21 Answers
New AnswerCan Anyone explain the output? Please Idk how it calculated that answer 🤔 Thank you https://code.sololearn.com/WG8JWScz7N3x/?ref=app
7/23/2019 12:25:06 AM
🐧Daniel [I use Arch BTW]21 Answers
New AnswerHere is why you dont get a number but infinity https://www.w3schools.com/jsref/jsref_infinity.asp i also coded something for you https://code.sololearn.com/WjmeL1IFMUUW/?ref=app
Nico Ruder so javascript have minimum and maximum number limit ? -1.797693134862315E+308 (minimum) And 1.797693134862315E+308(maximum) if the number is not inside that range then it will display "infinity" Am I right?
Nico Ruder this minimum and maximum range is for every programming languages or only for javascript?
Nico Ruder go to your notifications. Then click on the tab called"message"(2nd tab) I already send you "hi" so the message should already popped up for you
Roshan yeah brother 10 ** (10**10) = 10 000 000 000 ↓ 10 ** 10 000 000 000 = ? 🙄 thanks for your answer 😁
The ** is an exponentiation. So the result is actually 10^(10^10) and that result is too large. That's why the output is infinity
maybe other programming languages have bigger or smaller limits but I dont know. Look for the documentation to find out
Daniel [#United We Stand🇮🇳] It's actually the maximum of a double-precision floating point, or simply double. Every variable is JS is stored in double
Daniel i want to know you better. maybe we can write together. here is an Email where you can send me your email addres so i can write you back. [email protected]
The number from the output is 1,000 so it is a googolplex because the number is too big for an output
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message