You are absolutely right.
You are absolutely right. I am afraid there is no good solution for the problem except for performing symbolic calculations or simplifications. A hacky solution could be to round the output of sin(x) to a given internal precision. This would only hide the real internal numerical problem, though. It seems that other calculators suffer from the same issue: https://www.google.de/search?q=sin(1e10*pi) For now, I have increased the internal precision to 30 significant digits and updated the value of Pi to be more precise than that. Of course, this doesn't really solve the problem... just shifts it by a few orders of magnitude :-) Edit: Also, note that everything is fine if the answer is not zero (due to the rounding in the output): > sin(pi)+1 1
Posted by sharkdp on Mar 20, 2017, 7:06 PM
Tags
Related issues
- I mean that's the problem though.
- I've always believed the opposite: get conditionals deep in your code so that the higher level control flow is regular.
- The biggest problem with AI isn't being able to do things.
- I am a 3D printing maker type nerd (I make my own tools for other creative tasks, rather than as their own outcomes) and I saw an incredi...
- Of course not, those are clearly scams.
- Claude makes more detailed plans that seem better if you just skim them, but when analyzed, has a lot of errors, usually.
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
hackernews (EdTech)
I mean that's the problem though.
I've always believed the opposite: get conditionals deep in your code so that the higher level control flow is regular.
The biggest problem with AI isn't being able to do things.
I am a 3D printing maker type nerd (I make my own tools for other creative tasks, rather than as their own outcomes) and I saw an incredi...
Of course not, those are clearly scams.
Claude makes more detailed plans that seem better if you just skim them, but when analyzed, has a lot of errors, usually.
Effectively everyone is building the same tools with zero quantitative benchmarks or evidence behind the why / ideas … this entire s...
> creating and operating a small company in Germany is a nightmare To be fair, I think the problem operating in Germany is its federated...
You are absolutely right.
You are absolutely right. I am afraid there is no good solution for the problem except for performing symbolic calculations or simplifications. A hacky solution could be to round the output of sin(x) to a given internal precision. This would only hide the real internal numerical problem, though. It seems that other calculators suffer from the same issue: https://www.google.de/search?q=sin(1e10*pi) For now, I have increased the internal precision to 30 significant digits and updated the value of Pi to be more precise than that. Of course, this doesn't really solve the problem... just shifts it by a few orders of magnitude :-) Edit: Also, note that everything is fine if the answer is not zero (due to the rounding in the output): > sin(pi)+1 1
Comments (0)
No comments yet. Start the discussion.