Click here to Skip to main content
15,885,032 members
Articles / Programming Languages / C++

Avoiding Overflow, Underflow, and Loss of Precision

Rate me:
Please Sign up or sign in to vote.
4.88/5 (86 votes)
17 Dec 2014BSD7 min read 174.3K   786   117  
Describes why the most obvious way of evaluating functions may be bad and how to do better

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
President John D. Cook Consulting
United States United States
I work in the areas of applied mathematics, data analysis, and data privacy.

Check out my blog or send me a note.

 


Comments and Discussions