Double precision problem
Question from a beginner.
I used doubles in a program to calculate cable sag. The formula itself is pretty sophisticated, lots of math.tanh()'s and math.sqrt()'s. After analyzing the results i found out there's a slight precision problem. Doubles don't seem precise enough for this particulair problem. Is there a way to solve this?
---Posted from iPhone App---
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Feb 12, 2012, 3:54 AM EST