Optimizing the floating point or excluding singular points
- April 16, 2011
- 5 replies
- 5591 views
Hi,
Some expressions in my sheet generate floating point errors and I would like to take as many floated decimals it can till it gets to "floating point error", precision will be less for sure but to reach the approximate analytical results I need to get pass this issue. When the floating point error generating expression is in the denominator of the expression this is percieved as a "found a singularity.." error by Mathcad. Also it would be coould if I could just tell Mathcad to exclude points which cause the singularity of the expression.
cos(expression) returns floating point error
sin(expression) returns floating point error
but tanh(expression) doesn't give any error and converges to a result. Does it make sense ?
It would do the trick for me if Mathcad performs calculations to the point it returns an error based on the hardware/architecture.I can sacrifice some precision that will not be a problem.
Thanks

