3: Number Storage and Arithmetic 37
3
Number Storage and Arithmetic
Using Stored Numbers in Calculations
<RXFDQVWRUHQXPEHUVIRUUHXVHLQVHYHUDOGLIIHUHQWZD\V
8VH &RQVWDQWWRVWRUHDQXPEHUDQGLWVRSHUDWRUIRUUHSHWLWLYH
RSHUDWLRQV
8VH.H\0HPRU\ DQG WRVWRUHUHFDOODQGVXP
QXPEHUVZLWKDVLQJOHNH\VWURNH
8VH DQG WRVWRUHWRDQGUHFDOOIURPWKHQXPEHUHG
UHJLVWHUV
Using Constants
8VH WRVWRUHDQXPEHUDQGDULWKPHWLFRSHUDWRUIRU
UHSHWLWLYHFDOFXODWLRQV2QFHWKHFRQVWDQWRSHUDWLRQLV
VWRUHGHQWHUDQXPEHUDQGSUHVV
7KHVWRUHGRSHUDWLRQ
LVSHUIRUPHGRQWKHQXPEHULQWKHGLVSOD\
10B.book Page 37 Wednesday, June 21, 2000 5:19 PM