Number Limits, Overflow ond Rowroff
Integer Representation
— Be compvley- Het vies 4 bits, convse the first bit 40 vepresort
The sign of the tekgem C/-)5 ond the other 3 biks for the
absalle Valve.
Over Clow
Abit comple —> levges} water F
The code :
Kes} rd be cn overfow evver beeuause y cuvnot
Ver x= 75
te B becorse of 4 bA.
vev y= x41
+The conpeler cr shove te verlebl x just Fine, bby is 1 gveke
Fran Fhe kvgest inkgor ‘tb con vepresent ith the & bits,
Mn cases like Wis) the contr right vepetl “overflow evve® oy a
message (he “waley is teo large.
We dntb wort fo end vp ia Abate Fihelos, a9 HHS inportent Jo
Know dhe Linens of O17 leyuge vbr vriing Prerans.
Flocting « Point Represented on
= Congeer lenguages tepieelly vse fladig- point vepresentad ion for
vron~inlegers. Ib is similor fo seindiGic volelian.
— De waber i multiplied bya bese, Hats sessed to om expored,eK.
23 = 442?
tho = (25% 27
ex fon none late re
0.597 ta277
9.9992 S$ x2"
—Qace e conper dekernies He florfing point represen kdina fov
c wotey, Th stores thed in bits.
= Modern compukrs see bY bi Arsen thet wes 1 bit for Bu,
V1 Git Soe Whe exports ond G2 for We vember in fron.
Romdoff Eyros
~ Foaling ~ point veprsedidion still cond filly reprsert ell mmbea.
4 243 x 27 2D bn biaery % i sill 0f070101,. —.-
— We canngt Shore infintk Sequere in a Comprtov.
— Bs eve Lradins Ghe io end up a3 infinikly veptat Ing teen
ore converkd to baory .
We cn noliee ese evvors ule calevlatly wh thee volves,
— The move bs we con vse, Mae pore precise Ow uve bers
and calolalins vill be.
— Modern b4- be stem bes lish preeblea ad lev evver.