home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_01 / 032.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-02  |  755KB  |  2550x3300
Labels: book | crt screen | monitor | poster | reckoner
OCR: Chapter Getting Started ables that currently have positive values stored The other cases need some expla- nation Inc The ANSI standards for C guarantee that the absolute value of the remainder, incluc less than the absolute value of the divisor, b No other guarantees are made incl Luc about the values of a/b and a%b The first case we will consider is when the mathematical quotient of the two int ma operands an integer. Then the result of the quoti ient in c is that integer. For example since 1s evenly divisible bv 3 we know that the value of the value of the value of However, when the indicated quotient is not an integer as in 5/ -3 or -3 the result may vary from compiler compiler. The result could be either of the two integers closest to the actual arithmetic quotient For example the math ...