4 ms·
In comparison, Windows 7: powten(43429) -> Overflow powten(43430) -> Invalid input powten(4.3429) -> 22024.192788839535553954884105294 powten(4
by whoopdedo 8y ago
In comparison, Windows 7:
powten(43429) -> Overflow
powten(43430) -> Invalid input
powten(4.3429) -> 22024.192788839535553954884105294
powten(4.3430) -> 22029.264630534561834283309977748
powten(4.3431) -> 22034.337640198758473587650545525
In Windows 10, 4.3431 results in "Invalid input" but 4.3429 does not. (Nor does 4.3430, but obviously so.)
What's the significance of 43430?
- userbinator 8y agoVery interesting. The XP calc.exe/Calculator Plus is able to compute 10^43429 (and the result is 1.e+43429), but not 10^43430. What's the significance of 43430? e^99999 = 1.0325137485899245994533393888277e+43429 e^100000 = 2.8066633604261231793183858185717e+43429 e^100001 = Invalid input for function. (XP calc.exe) According to Mathematica, e^100001 = 7.6293020112481304176946586569717e+43429 e^100002 = 2.0738593021001839250781552880629e+43430 and likewise, ln(1e+43429) = 99998.968003638410011217350885487 ln(1e+43430) = 100001.27058873140405690136887694 It's off by a tiny bit, but it's round enough to give some hints: 10^x is internally being computed using e^x. Edit: some more interesting, possibly relevant search results for the numbers 43429 and 43430: https://stackoverflow.com/questions/33515746/why-is-this-c-program-crashes-on-windows-and-works-fine-on-linux https://stackoverflow.com/questions/33515746/why-is-this-c-p... http://delphiforfun.org/NewsLetters/Nbr32.htm http://delphiforfun.org/NewsLetters/Nbr32.htm
- psyklic 8y agoNice work! The internal use of e^x also was confirmed below for the Windows 10 calc (using another method).
- JdeBP 8y agoSee https://news.ycombinator.com/item?id=17675777 https://news.ycombinator.com/item?id=17675777 on this page.