TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why does this crash wolfram alpha?

1 pointsby cgcardonaover 14 years ago
Paste this into Wolfram alpha and see that it causes it to crash:<p>exp(21 – 1.1*log(1,000,000))<p>why?

1 comment

dalkeover 14 years ago
Best would be to show a minimal crashing case.<p>log(1,0,0) does not crash it.<p>1.1 * log(1,0,0) crashes it.<p>log(1,0) is interpreted as "log of 0, base 1", which is -infinity.<p>log(1, 0, 0) / 1 is interpreted as log(1,0,0)<p>as is log(1,0,0) * 1<p>log(1,0,0) gets converted to the Mathematica form Log[1,0,0] which, from the documentation, makes no sense to me.<p>log(1,0,0) * 1.1 crashes it.<p>So it's some interaction of an undefined result and a floating point number. Have you sent a bug report to Wolfram?