Errors And Overflows

From Appmethod Topics
Jump to: navigation, search

Go Up to Expressions Index

Associativity and precedence of C++ operators. summarizes the precedence and associativity of the operators. During the evaluation of an expression, the compiler can encounter many problematic situations, such as division by zero or out-of-range floating-point values. Integer overflow is ignored (C uses modulo 2n arithmetic on n-bit registers), but errors detected by math library functions can be handled by standard or user-defined routines.See _matherr and signal.