Similar to Solution 844592, this fails for large x, e.g., x = 1e16, due to floating point errors
This solution is numerically more stable than Solution 844592.
This solution fails for large x > 1e15 due to floating point errors (e.g., 1e16+0.5==1e16).
Celsius to Fahrenheit converter
396 Solvers
find the roots of a quadratic equation
174 Solvers
204 Solvers
Matlab Basics - Logical Tests I
199 Solvers
181 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!