Click here to Skip to main content
15,891,409 members
Articles / Programming Languages / Visual C++ 10.0

Precise and safe calculation method for the average of large integer arrays

Rate me:
Please Sign up or sign in to vote.
4.91/5 (12 votes)
13 Aug 2014CPOL4 min read 25.8K   11  
How to avoid overflow and still retain precision on large integer calculations

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Switzerland Switzerland
Graduated at TU Darmstadt in Math & CS, with a heavy focus on CAD/CAM

Programming and designing applications in C++ in the areas AI, real-time programming, client-server applications and CAD/CAM since 1985.

Personal interests: AI, computer graphics, games, reading

Comments and Discussions