亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dc

?? unix v7是最后一個廣泛發(fā)布的研究型UNIX版本
??
?? 第 1 頁 / 共 2 頁
字號:
All arithmetic operations are done on integers.The operands (or operand) needed for the operation are poppedfrom the main stack and their scale factors stripped off.Zeros are added or digits removed as necessary to geta properly scaled result from the internal arithmetic routine.For example, if the scale of the operands is different and decimalalignment is required, as it is foraddition, zeros are appended to the operand with the smallerscale.After performing the required arithmetic operation,the proper scale factor is appended to the end of the number beforeit is pushed on the stack..PPA register called \fBscale\fP plays a partin the results of most arithmetic operations.\fBscale\fP is the bound on the number of decimal places retained inarithmetic computations.\fBscale\fP may be set to the number on the top of the stacktruncated to an integer with the \fBk\fP command.\fBK\fP may be used to push the value of \fBscale\fP on the stack.\fBscale\fP must be greater than or equal to 0 and less than 100.The descriptions of the individual arithmetic operations willinclude the exact effect of \fBscale\fP on the computations..SHAddition and Subtraction.PPThe scales of the two numbers are compared and trailingzeros are supplied to the number with the lower scale to give bothnumbers the same scale.  The number with the smaller scale ismultiplied by 10 if the difference of the scales is odd.The scale of the result is then set to the larger of the scalesof the two operands..PPSubtraction is performed by negating the numberto be subtracted and proceeding as in addition..PPFinally, the addition is performed digit by digit from thelow order end of the number.  The carries are propagatedin the usual way.The resulting number is brought into canonical form, which mayrequire stripping of leading zeros, or for negative numbersreplacing the high-order configuration 99,\-1 by the digit \-1.In any case, digits which are not in the range 0\-99 mustbe brought into that range, propagating any carries or borrowsthat result..SHMultiplication.PPThe scales are removed from the two operands and saved.The operands are both made positive.Then multiplication is performed ina digit by digit manner that exactly mimics the hand methodof multiplying.The first number is multiplied by each digit of the secondnumber, beginning with its low order digit.  The intermediateproducts are accumulated into a partial sum which becomes thefinal product.The product is put into the canonical form and its sign iscomputed from the signs of the original operands..PPThe scale of the result is set equal to the sumof the scales of the two operands.If that scale is larger than the internal register.ft Bscale.ftand also larger than both of the scales of the two operands,then the scale of the result is set equal to the largestof these three last quantities..SHDivision.PPThe scales are removed from the two operands.Zeros are appended or digits removed from the dividend to makethe scale of the result of the integer division equal tothe internal quantity\fBscale\fP.The signs are removed and saved..PPDivision is performed much as it would be done by hand.The difference of the lengths of the two numbersis computed.If the divisor is longer than the dividend,zero is returned.Otherwise the top digit of the divisor is divided into the toptwo digits of the dividend.The result is used as the first (high-order) digit of thequotient.It may turn out be one unit too low, but if it is, the nexttrial quotient will be larger than 99 and this will beadjusted at the end of the process.The trial digit is multiplied by the divisor and the result subtractedfrom the dividend and the process is repeated to getadditional quotient digits until the remainingdividend is smaller than the divisor.At the end, the digits of the quotient are put intothe canonical form, with propagation of carry as needed.The sign is set from the sign of the operands..SHRemainder.PPThe division routine is called and division is performedexactly as described.  The quantity returned is the remains of thedividend at the end of the divide process.Since division truncates toward zero, remainders have the samesign as the dividend.The scale of the remainder is set to the maximum of the scale of the dividend andthe scale of the quotient plus the scale of the divisor..SHSquare Root.PPThe scale is stripped from the operand.Zeros are added if necessary to make theinteger result have a scale that is the larger ofthe internal quantity\fBscale\fPand the scale of the operand..PPThe method used to compute sqrt(y) is Newton's methodwith successive approximations by the rule.EQx sub {n+1} ~=~ half ( x sub n + y over x sub n ).ENThe initial guess is found by taking the integer square rootof the top two digits..SHExponentiation.PPOnly exponents with zero scale factor are handled.  If the exponent iszero, then the result is 1.  If the exponent is negative, thenit is made positive and the base is divided into one.  The scaleof the base is removed..PPThe integer exponent is viewed as a binary number.The base is repeatedly squared and the result isobtained as a product of those powers of the base thatcorrespond to the positions of the one-bits in the binaryrepresentation of the exponent.Enough digits of the resultare removed to make the scale of the result the same as if theindicated multiplication had been performed..SHInput Conversion and Base.PPNumbers are converted to the internal representation as they are readin.The scale stored with a number is simply the number of fractional digits input.Negative numbers are indicated by preceding the number with a \fB\_\fP.The hexadecimal digits A\-F correspond to the numbers 10\-15 regardless of input base.The \fBi\fP command can be used to change the base of the input numbers.This command pops the stack, truncates the resulting number to an integer,and uses it as the input base for all further input.The input base is initialized to 10 but may, for example be changed to8 or 16 to do octal or hexadecimal to decimal conversions.The command \fBI\fP will push the value of the input base on the stack..SHOutput Commands.PPThe command \fBp\fP causes the top of the stack to be printed.It does not remove the top of the stack.All of the stack and internal registers can be outputby typing the command \fBf\fP.The \fBo\fP command can be used to change the output base.This command uses the top of the stack, truncated to an integer asthe base for all further output.The output base in initialized to 10.It will work correctly for any base.The command \fBO\fP pushes the value of the output base on the stack..SHOutput Format and Base.PPThe input and output bases only affectthe interpretation of numbers on input and output; they have noeffect on arithmetic computations.Large numbers are output with 70 characters per line;a \\ indicates a continued line.All choices of input and output bases work correctly, although not all areuseful.A particularly useful output base is 100000, which has the effect ofgrouping digits in fives.Bases of 8 and 16 can be used for decimal-octal or decimal-hexadecimalconversions..SHInternal Registers.PPNumbers or strings may be stored in internal registers or loaded on the stackfrom registers with the commands \fBs\fP and \fBl\fP.The command \fBs\fIx\fR pops the top of the stack andstores the result in register \fBx\fP.\fIx\fP can be any character.\fBl\fIx\fR puts the contents of register \fBx\fP on the top of the stack.The \fBl\fP command has no effect on the contents of register \fIx\fP.The \fBs\fP command, however, is destructive..SHStack Commands.PPThe command \fBc\fP clears the stack.The command \fBd\fP pushes a duplicate of the number on the top of the stackon the stack.The command \fBz\fP pushes the stack size on the stack.The command \fBX\fP replaces the number on the top of the stackwith its scale factor.The command \fBZ\fP replaces the top of the stackwith its length..SHSubroutine Definitions and Calls.PPEnclosing a string in \fB[]\fP pushes the ascii string on the stack.The \fBq\fP command quits or in executing a string, pops the recursion levels by two..SHInternal Registers \- Programming DC.PPThe load and storecommands together with \fB[]\fP to store strings, \fBx\fP to executeand the testing commands `<', `>', `=', `!<', `!>', `!=' can be used to programDC.The \fBx\fP command assumes the top of the stack is an string of DC commandsand executes it.The testing commands compare the top two elements on the stack and if the relation holds, execute the registerthat follows the relation.For example, to print the numbers 0-9,.DS[lip1+  si  li10>a]sa0si  lax.DE.SHPush-Down Registers and Arrays.PPThese commands were designed for used by a compiler, not bypeople.They involve push-down registers and arrays.In addition to the stack that commands work on, DC can be thoughtof as having individual stacks for each register.These registers are operated on by the commands \fBS\fP and \fBL\fP.\fBS\fIx\fR pushes the top value of the main stack onto the stack forthe register \fIx\fP.\fBL\fIx\fR pops the stack for register \fIx\fP and puts the result on the mainstack.The commands \fBs\fP and \fBl\fP also work on registers but not as push-downstacks.\fBl\fP doesn't effect the top of theregister stack, and \fBs\fP destroys what was there before..PPThe commands to work on arrays are \fB:\fP and \fB;\fP.\fB:\fIx\fR pops the stack and uses this value as an index intothe array \fIx\fP.The next element on the stack is stored at this index in \fIx\fP.An index must be greater than or equal to 0 andless than 2048.\fB;\fIx\fR is the command to load the main stack from the array \fIx\fP.The value on the top of the stack is the indexinto the array \fIx\fP of the value to be loaded..SHMiscellaneous Commands.PPThe command \fB!\fP interprets the rest of the line as a .UX command and passesit to .UXto execute.One other compiler command is \fBQ\fP.This command uses the top of the stack as the number of levels of recursion to skip..SHDESIGN CHOICES.PPThe real reason for the use of a dynamic storage allocator wasthat a general purpose program could be (and in fact has been)used for a variety of other tasks.The allocator has some value for input and for compiling (i.e.the bracket [...] commands) where it cannot be known in advancehow long a string will be.The result was that at a modestcost in execution time, all considerations of string allocationand sizes of strings were removed from the remainder of the programand debugging was made easier.  The allocation methodused wastes approximately 25% of available space..PPThe choice of 100 as a base for internal arithmeticseemingly has no compelling advantage.  Yet the base cannotexceed 127 because of hardware limitations and at the costof 5% in space, debugging was made a great deal easier anddecimal output was made much faster..PPThe reason for a stack-type arithmetic design wasto permit all DC commands from addition to subroutine executionto be implemented in essentially the same way.  The resultwas a considerable degree of logical separation of the finalprogram into modules with very little communication betweenmodules..PPThe rationale for the lack of interaction between the scale and the baseswas to provide an understandable means of proceeding aftera change of base or scale when numbers had already been entered.An earlier implementation which had global notions ofscale and base did not work out well.If the value of.ft Bscale.ftwere to be interpreted in the currentinput or output base,then a change of base or scale in the midst of acomputation would cause great confusion in the interpretationof the results.The current scheme has the advantage that the value ofthe input and output basesare only used for input and output, respectively, and theyare ignored in all other operations.The value ofscaleis not used for any essential purpose by any part of the programand it is used only to prevent the number ofdecimal places resulting from the arithmetic operations fromgrowing beyond all bounds..PPThe design rationale for the choices for the scales ofthe results of arithmetic were that in no case shouldany significant digits be thrown away if, on appearances, theuser actually wanted them.  Thus, if the user wantsto add the numbers 1.5 and 3.517, it seemed reasonable to givehim the result 5.017 without requiring him to unnecessarilyspecify his rather obvious requirements for precision..PPOn the other hand, multiplication and exponentiation produceresults with many more digits than their operands and itseemed reasonable to give as a minimum the number of decimalplaces in the operands but not to give more than thatnumber of digitsunless the user asked for them by specifying a value for \fBscale\fP.Square root can be handled in just the same way as multiplication.The operation of division gives arbitrarily many decimal placesand there is simply no way to guess how many places the userwants.In this case only, the user mustspecify a \fBscale\fP to get any decimal places at all..PPThe scale of remainder was chosen to make it possibleto recreate the dividend from the quotient and remainder.This is easy to implement; no digits are thrown away..SHReferences.IP [1]L. L. Cherry, R. Morris,.ft IBC \- An Arbitrary Precision Desk-Calculator Language..ft.IP [2]K. C. Knowlton,.ft IA Fast Storage Allocator,.ftComm. ACM \fB8\fP, pp. 623-625 (Oct. 1965).

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精彩视频在线| 26uuu亚洲综合色| 亚洲日本免费电影| 91丝袜高跟美女视频| 亚洲色欲色欲www在线观看| 成人高清在线视频| 亚洲欧美日韩中文播放| 成人黄色一级视频| 欧美日韩一级二级三级| caoporn国产一区二区| 国产成人小视频| 国产精品嫩草99a| www.av精品| 亚洲综合图片区| 欧美日韩精品久久久| 久久精品国产第一区二区三区| 337p日本欧洲亚洲大胆色噜噜| 成人一级片在线观看| 亚洲青青青在线视频| 91精品视频网| 国产 欧美在线| 亚洲小说春色综合另类电影| 日韩欧美色综合网站| 国产999精品久久| 亚洲国产毛片aaaaa无费看 | 欧美色网一区二区| 免费在线观看视频一区| 91女厕偷拍女厕偷拍高清| 国产日韩欧美一区二区三区综合| 精品一区二区三区久久| 综合电影一区二区三区| 日韩一区二区在线看| 成人动漫av在线| 秋霞午夜av一区二区三区| 中国av一区二区三区| 欧美一级高清片| 99久久久久久99| 久久国产成人午夜av影院| 亚洲美女视频在线| 久久蜜桃香蕉精品一区二区三区| 欧美视频在线播放| 粉嫩高潮美女一区二区三区| 视频一区视频二区在线观看| 国产精品久久网站| 日韩手机在线导航| 日韩欧美中文字幕一区| 91在线观看一区二区| 精品中文av资源站在线观看| 亚洲国产一区在线观看| 国产精品久久久久影视| 久久蜜桃一区二区| 日韩 欧美一区二区三区| 99久久er热在这里只有精品66| 色综合久久综合网欧美综合网 | 亚洲精品免费一二三区| 国产亚洲欧美激情| 日韩欧美高清一区| 欧美日韩高清一区二区三区| 一本色道a无线码一区v| 国产成人综合在线播放| 乱一区二区av| 蜜桃视频一区二区| 日日摸夜夜添夜夜添国产精品| 亚洲色图在线视频| 欧美国产在线观看| 久久婷婷色综合| 欧美成人女星排名| 欧美蜜桃一区二区三区| 欧美日本国产一区| 欧美日韩精品一区二区三区| 日本乱人伦一区| 97久久久精品综合88久久| 成人av小说网| av网站免费线看精品| av综合在线播放| 91在线看国产| 91福利国产精品| 日本乱人伦一区| 欧美日韩成人综合天天影院| 欧美日韩夫妻久久| 91麻豆精品国产自产在线观看一区| 欧美日韩三级在线| 欧美久久一二区| 日韩亚洲欧美高清| 久久综合给合久久狠狠狠97色69| 久久人人超碰精品| 26uuu国产日韩综合| 久久久精品免费网站| 国产丝袜在线精品| 欧美国产日韩在线观看| 中文字幕在线观看不卡视频| 国产精品传媒视频| 亚洲美女屁股眼交| 亚洲国产aⅴ天堂久久| 日韩电影在线观看一区| 精品一区二区三区久久| 国产精品一二三区在线| caoporen国产精品视频| 91福利在线观看| 欧美丰满高潮xxxx喷水动漫| 日韩精品一区二| 国产精品久久久久久久久免费樱桃| 亚洲视频一区在线观看| 婷婷国产在线综合| 国内外成人在线| 99久久婷婷国产综合精品| 欧美日韩激情一区二区| 国产精品污网站| 亚洲一区二区三区四区五区中文 | 日韩精品一区二| 中文字幕乱码日本亚洲一区二区| 一区二区三区在线视频观看| 天堂在线一区二区| 国产成人在线视频网址| 欧美在线一区二区三区| 日韩精品中文字幕在线不卡尤物| 久久久精品天堂| 亚洲福利视频一区二区| 国产麻豆视频一区| 欧美三级日韩在线| 久久久亚洲午夜电影| 亚洲精品第1页| 国产麻豆精品95视频| 欧美视频一区二| 国产午夜精品一区二区三区嫩草 | 91婷婷韩国欧美一区二区| 日韩欧美一区二区免费| 亚洲丝袜美腿综合| 精品一区二区三区免费播放| 色伊人久久综合中文字幕| 国产亚洲精品aa午夜观看| 午夜影视日本亚洲欧洲精品| 国产成a人亚洲精品| 欧美一级精品在线| 一级做a爱片久久| 高清成人在线观看| 日韩一区二区免费在线观看| 亚洲伦在线观看| 国产成人99久久亚洲综合精品| 这里只有精品电影| 成人免费在线观看入口| 国产成人精品免费网站| 欧美成人猛片aaaaaaa| 亚洲小说春色综合另类电影| 粉嫩av一区二区三区| 日韩欧美三级在线| 日韩中文字幕1| 欧美第一区第二区| 午夜精品一区在线观看| 天天色综合天天| 懂色av噜噜一区二区三区av| 欧美一级免费观看| 亚洲国产精品影院| 91美女在线看| 亚洲欧洲另类国产综合| 国产精品1024| 久久看人人爽人人| 捆绑紧缚一区二区三区视频| 欧美日韩国产成人在线免费| 亚洲国产一区二区a毛片| 91在线porny国产在线看| 国产精品久久久久久久久快鸭 | 亚洲成人www| 日本久久一区二区三区| 中文字幕一区二区三区不卡| 成人夜色视频网站在线观看| 久久久午夜电影| 国产激情一区二区三区| 中文一区在线播放| 成人小视频在线| 精品国产3级a| 欧美精品一卡二卡| 激情偷乱视频一区二区三区| 欧美在线三级电影| 中文字幕一区二区三区视频| 91网页版在线| 亚洲综合色区另类av| 欧美亚洲日本国产| 午夜精品久久久久久久| 777a∨成人精品桃花网| 蜜臀av性久久久久av蜜臀妖精 | 日韩精品一区二区三区swag| 久久国产精品99久久久久久老狼| 日韩精品专区在线影院观看| 国产一区二区三区美女| 国产精品系列在线| 91蝌蚪porny成人天涯| 亚洲激情图片小说视频| 欧美日韩国产一级| 免费日韩伦理电影| 久久久99久久精品欧美| 不卡电影免费在线播放一区| 亚洲色图.com| 在线电影国产精品| 久久国产福利国产秒拍| 最新国产精品久久精品| 精品视频一区二区三区免费| 久久成人免费网站| 中文字幕日本不卡| 精品久久久网站|