SU744559A2 - Device for computing m-power polynomial values - Google Patents

Device for computing m-power polynomial values Download PDF

Info

Publication number
SU744559A2
SU744559A2 SU782602370A SU2602370A SU744559A2 SU 744559 A2 SU744559 A2 SU 744559A2 SU 782602370 A SU782602370 A SU 782602370A SU 2602370 A SU2602370 A SU 2602370A SU 744559 A2 SU744559 A2 SU 744559A2
Authority
SU
USSR - Soviet Union
Prior art keywords
register
cycle
argument
bit
shift
Prior art date
Application number
SU782602370A
Other languages
Russian (ru)
Inventor
Александр Николаевич Чуватин
Валентина Александровна Чуватина
Original Assignee
Кировский Политехнический Институт
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Кировский Политехнический Институт filed Critical Кировский Политехнический Институт
Priority to SU782602370A priority Critical patent/SU744559A2/en
Application granted granted Critical
Publication of SU744559A2 publication Critical patent/SU744559A2/en

Links

Description

1one

Изобретение относитс  к области цифровой вычислительной техники и может быть использовано в цифровых вычислительных машинах.The invention relates to the field of digital computing and can be used in digital computers.

Наиболее близким по технической сущности к предложенному  вл етс  устройство 1 дл  вычислени  значени  полинома т-й степени, содержащее три регистра сдвига, три элемента И, счетчик переноса, сумматор , блок управлени . При этом первый и второй регистры сдвига содержат цепи переноса . Выходы первого и второго регистров через первый элемент И соединены со входом счетчика переноса. Первый вход сумматора соединен с выходом счетчика переноса , второй вход сумматора - с выходом третьего регистра сдвига, а выход сумматора через второй элемент И подсоеди-. нен ко входу первого регистра сдвига, выход которого подключен к первому входу третьего элемента И , выход которого подключен ко входу первого регистра, управл ющие входы регистров, сумматора, счетчика переноса, первого и второго элементов И, а также второй вход третьего элемента И подсоединены к соответствующим выходам блока управлени .The closest in technical essence to the proposed is a device 1 for calculating the value of a polynomial of degree t, containing three shift registers, three AND elements, a transfer counter, an adder, a control unit. In this case, the first and second shift registers contain transfer chains. The outputs of the first and second registers through the first element And is connected to the input of the transfer counter. The first input of the adder is connected to the output of the transfer counter, the second input of the adder is connected to the output of the third shift register, and the output of the adder via the second element I connected. not connected to the input of the first shift register, the output of which is connected to the first input of the third And element, the output of which is connected to the input of the first register, the control inputs of the registers, adder, transfer counter, the first and second And elements, as well as the second input of the third And element corresponding outputs of the control unit.

Данное устройство обладает простой конструкцией и позвол ет вычисл ть значени  элементарных функций, аппроксимируемыхThis device has a simple design and allows the calculation of the values of elementary functions approximated by

полиномами с неотрицательными коэффициентами без использовани  стандартных программ вычислени  элементарных функций . При этом функции вычисл ютс  быстрее и достигаетс  экономи   чеек пам ти ЦВМ по сравнению с вычислением функций программными средствами.polynomials with nonnegative coefficients without using standard programs for calculating elementary functions. In this case, the functions are calculated faster and savings are achieved in the memory cells of the digital computer in comparison with the calculation of the functions by software.

Однако известное устройство не может вычисл ть значение полинома с произволь10 ными коэффициентами, что не позвол ет вычисл ть с его помощью такие важные дл  практики функции, как , Y cosX, Y aTcigX, y arcshJ, F arcchX и т. д., которые аппроксимируютс  полиномами с произвольными коэффициентами .However, the known device cannot calculate the value of a polynomial with arbitrary coefficients, which makes it impossible to calculate with it such important practical functions as Y cosX, Y aTcigX, y arcshJ, F arcchX, etc., which are approximated polynomials with arbitrary coefficients.

Целью дополнительного изобретени   вл етс  расширение класса решаемых задач за счет возможности вычислени  значени The purpose of the additional invention is to expand the class of tasks due to the possibility of calculating the value

20 полинома с произвольными коэффициентами .20 polynomials with arbitrary coefficients.

Поставленна  цель достигаетс  тем, что в устройство по авт. св. № 575648 введен четвертый элемент И, первый, второй и третий входы которого соединены соответственно с выходом блока управлени , с управл ющим входом счетчика переноса и с выходом первого разр да первого регистра сдвига , а выход - со входом первого регистраThe goal is achieved by the fact that the device according to ed. St. No. 575648 entered the fourth element I, the first, second and third inputs of which are connected respectively to the output of the control unit, to the control input of the transfer counter and to the output of the first bit of the first shift register, and the output to the input of the first register

30 сдвига. На фиг. 1 показана блок-схема устройства дл  вычислени  значени  полинома /п-й степени. Она содержит блок 1 управлени , регистры 2, 3, 4 сдвига, счетчик 5 переносов, сумматор 6, элементы И 7-10, выход 11 признака сложени  блока управлени , выход 12 тактирующих импульсов блока управлени , выход 13 признака сдвига счетчика переноса блока управлени , выходы 14, 15 признака сдвига (соответственно) первого и второго регистров блока управлени , выход 16 инверсии признака сложени  блока управлени , шины 17 ввода аргумента, шины 18 ввода коэффициентов при степен х аргумента . На фиг. 2 показана временна  диаграмма работы блока управлени  в каждом цикле. Здесь 19 - выход четвертого элемента И, если частичное значение полинома 20 - выход четвертого элемента И, если частичное значение полинома Sj,0. На фиг. 3 показана диаграмма перемены содержимого регистров, fJtfe а - расположение чисел в исходном положении; б - расположение чисел после выполнени  первого цикла; в - расположение чисел при циркул ции в первом такте второго цикла; г - расположение чисел при циркул ции в (п- 1)-м такте второго цикла; д - расположение чисел при циркул ции в п-м такте второго цикла; е - расположение чисел при циркул ции в (2л-1)-м такте второго цикла . При этом на фиг. 3 обозначено: х,-j-  двоична  цифра аргумента X; а/ -/-  двоична  цифра коэффициента при степени аргумента Aji , 1, 2, ..., п-1, / 0, 1, 2,..., т; bi-г-  двоична  цифра л-разр дного числа . Первый регистр 2 и второй регистр 3  вл ютс  (2л-1)-разр дными , а третий регистр 4 - л-разр дным, где л - разр дность двоичных чисел, включа  один знаковый разр д, прин та  в устройстве . Предлагаемое устройство вычисл ет значение полинома с произвольными коэффициентами AjXJ + + + ... + А;г + 4 по алгоритму (схеме) Горнера r {((...((A + + A,,)X + + ...+4) + 4), где У - значение полинома; X - степень аргумента; AJ - /-Й коэффициент при степени аргумента; Хз - /-Я степень аргумента; AjXi - /-Й член полинома; / - номер коэффициента при степени аргумента, номер члена полинома, показатель степени аргумента; т - степень полинома; (т+1)-количество членов полинома; ...l(.,гlX + An, + + ...)частичное значение полинома. /Ь/(; (0,1} -цифры числа 2 f2-. Аргумент 1Х ,2-, , ., . ., где ,1} -цифра t-ro разр да аргумента ,  вл етс  л-разр дным двоичным числом, у которого зап та  фиксирована перед дробной частью. Как в известном устройстве, так и в предлагаемом устройстве, аргумент X - число неотрицательное, т. е. -,0, и значение знакового разр да . Коэффициент при степени аргумента , где а/е{0,1}-цифра i-ro разр да /-го коэффициента при степени аргумента,  вл етс  л-разр дным двоичным числом, у которого зап та  фиксирована перед дробной частью . В отличие от известного устройства, в предлагаемом устройстве коэффициент AJ-произвольное число. Если коэффициент Л;,0, то он представлен в пр мом коде и значение знакового разр да а 0. Если коэффициент Л; О, то он представлен в дополнительном коде, и значение знакового разр да . Вначале во второй регистр 3 по шинам 17 ввода подаетс  аргумент X старшими разр дами вперед. Одновременно в третий регистр 4 по шинам 18 ввода подаетс  коэффициент Am младшими разр дами вперед. Устройство подготовлено к работе дл  вычислени  значени  полинома. На фиг. 3,а изображено расположение чисел в исходном положении.. ., Устройство работает циклически (см. временную диаграмму работы блока управлени  в каждом цикле, показанную на фиг. 2). Каждый цикл состоит из (2л-1) тактов. В каждом такте на управл ющий вход второго регистра 3 сдвига поступает признак сдвига второго регистра из блока 1 управлени . Признак сдвига второго регистра представл ет собой последовательность из (2л-1) импульсов.. Под ., воздействием признака сдвига второго регистра во втором регистре 3 происходит циркул ци  аргумента в каждом такте. В каждом такте на управл ющий вход первого регистра 2 сдвига поступает признак сдвига первого регистра из блока 1 управлени . Признак сдвига первого регистра представл ет собой последовательность из 2п импульсов. Под воздействием признака сдвига первого регистра в каждом такте происходит циркул ци  числа, наход щегос  в первом регистре 2, а кроме того , в каждом такте происходит сдвиг числа, наход щегос  в первом регистре, на один разр д относительно аргумента, наход щегос  во втором регистре 3. В результате циркул ции числа, наход щегос  в первом регистре 2, и циркул ции аргумента, наход щегос  во втором регистре 3, на выходе первого элемента И 7 получаютс  цифры поразр дных произведений этих чисел. Под воздействием тактирующих импульсов на первый элемент И 7 в каждом такте происходит передача цифр поразр дных произведений в счетчик 5 переноса. В конце каждого такта па управл ющий вход счетчика 5 переноса подастс  признак сдвига счетчика переноса из блока управлени . Под воздействием признака сдвига счетчика переноса в счетчике 5 переноса происходит сдвиг на один разр д наход щегос  в нем числа в сторону младших разр дов . В результате на выходе младшего разр да счетчика 5 переноса в конце каждого такта оказываетс , начина  с младшей, очередна  цифра произведени  числа, наход щегос  в первом регистре 2, и аргумента, наход щегос  во втором регистре 3. Таким образом, на выходе младшего разр да счетчика 5 переноса в течение одного цикла будут сформированы, начина  с младшей , все {2/г-1) цифры произведени  празр дного числа, наход щегос  в первом регистре 2, и «-разр дного аргумента, наход щегос  во втором регистре 3. При выполнении второй половины цикла, т. е. в п, («+), ..., (2га-1) тактах блок 1 управлени  вырабатывает и признаков еложени , под воздействием которых в последовательном сумматоре б происходит сложение , начина  с.младших разр дов, двух чисел, из которых первое число -- старшие п разр дов ()-разр дного произведенн , а второе число - очередной п-разр дньтй коэЛЛициент при степени аргумента. Под действием каждого признака сложени  происходит передача, начина  с младшей , каждой цифры суммы с выхода последовательного сумматора б через второй элемент И 8 на вход первого регистра 2. Кроме того, под воздействием каждого признака сложени , поданного на управл ющий вход третьего регистра 4, происходит сдвиг в сторону младших разр дов на один разр д коэффициента при степени аргумента , хран щегос  в третьем регистре 4, а в освобождающийс  старщий разр д помещаетс , начина  с младшей, цифра следующего , начина  со старщего, коэффициента при степени аргумента, который поступает по щинам 18 ввода. Одновременно с признаком сложени  блок управлени  вырабатывает инверсию признака сложени . Под воздействием инверсии признака сложени  на третнй элемент И 9, сто щий в цепи циклического переноса первого регистра 2, происходит размыкание цепи циклического переноса в тот момент, когда на вход первого регистра 2 под воздействием признака сложени  подаетс  через второй элемент И 8 с выхода последовательного сумматора 6 цифра суммы. Таким образом, осуществл етс  замена цифр, которые поступают по цепн циклического переноса на вход первого регистра 2, цифрами, которые поступают с выхода последовательного сумматора б, т. е. в первом регистре происходит накопление результата- вычисл емого значени  полинома. После (m-fl)-кратного повторени  указанного цикла в первом регистре 2 окажетс  результат - вычисленное значение полинома . Работу устройства целесообразно проследить по диаграмме перемены содержимого регистров, показанной на фиг. 3. После выполнени  первого цикла в нервом регистр.е 2 окажетс  коэффициент Am, во втором регистре 3 - без изменени  аргзмент X, в третьем регистре 4 - коэффициент Лт-1 (см. фиг. 3,6). В первом такте второго цикла происходит циркул ци  аргумента Л во втором регистре 3 и циркул ни  коэффициента Л,,, в первом регистре 2 (см. фиг. 3,s). В результате на выходе младшего разр да счетчика 5 переноса будет сформирована цифра младшего (2п-2)-го разр да произведени  Х-А-т. Эта цифра будет o j-An-i. Во втором такте второго цикла на выходе младшего разр да счетчика 5 переноса будет сформирована цифра следующего (2л-3)-го разр да произведени  Х-Л„ В (п-1)-м такте второго цикла на выходе младшего разр да счетчика 5 переноса будет сформирована цифра л-го разр да произведени  Х-Am (см. фиг. 3,г). В п-м такте второго цикла на выходе последовательного с шматора б будет сформирована цифра младшего (п-1)-го разр да п-разр дного числа X-Am- -Am-i. Эта цифра будет . Она поступает на вход первого регистра 2, заменив собою цифру младшего разр да коэффициента Л„,. Одновременно происход т под воздействием признака сложени  сдвиг на один разр д в сторону младших разр дов коэффициента Ат-1 в третьем регг:тре 4 и прием по шинам 18 ввода цифры ajij младшего разр да коэффициента Am-z (см. фиг. 3,д) и т. д.30 shift. FIG. Figure 1 shows a block diagram of an apparatus for calculating a polynomial value of a nth power. It contains a control unit 1, registers 2, 3, 4 shifts, a transfer counter 5, an adder 6, elements AND 7-10, an output 11 of the adding characteristic of the control unit, an output 12 of the clock of the control unit, an output 13 of the indication of shifting the transfer counter of the control unit, the outputs 14, 15 of the sign of the shift (respectively) of the first and second registers of the control unit; the inversion output 16 of the indication of the addition of the control unit, the argument input bus 17, the coefficient input bus 18 at the powers of the argument. FIG. 2 shows a timing diagram of the operation of the control unit in each cycle. Here 19 is the output of the fourth element And, if the partial value of the polynomial 20 is the output of the fourth element And, if the partial value of the polynomial Sj, 0. FIG. 3 shows a diagram of the change of the contents of the registers, fJtfe a - the arrangement of numbers in the initial position; b - arrangement of numbers after the first cycle; c is the arrangement of numbers during the circulation in the first cycle of the second cycle; g is the arrangement of numbers during the circulation in the (n-1) th cycle of the second cycle; d is the arrangement of numbers during the circulation in the nth cycle of the second cycle; e is the arrangement of numbers during the circulation in the (2л-1) th cycle of the second cycle. In addition, in FIG. 3 denotes: x, -j- is the binary digit of the argument X; a / - / - the binary number of the coefficient with the degree of argument Aji, 1, 2, ..., p-1, / 0, 1, 2, ..., t; bi-g is a binary digit of a l-digit number. The first register 2 and the second register 3 are (2n-1) -digit, and the third register 4 is l-bit, where l is the digit size of binary numbers, including one sign bit received in the device. The proposed device calculates the value of a polynomial with arbitrary coefficients AjXJ + + + ... + A; g + 4 according to Horner’s algorithm (scheme) r {((... ((A + + A ,,) X + + ... +4) + 4), where Y is the value of the polynomial; X is the degree of the argument; AJ is the / -th coefficient with the degree of the argument; Xs is the / -I degree of the argument; AjXi is the / -th member of the polynomial; / is the number of the coefficient with degree argument, polynomial member number, exponent of the argument; t is the degree of the polynomial; (t + 1) is the number of members of the polynomial; ... l (., lx + An, + + ...) partial value of the polynomial. / b / ( ; (0,1} -digits of the number 2 f2-. Argument 1Х, 2-,,.,., Where, 1} -titra t-ro The argument number is an l-bit binary number whose code is fixed before the fractional part. In both the known device and the proposed device, the argument X is a non-negative number, i.e., -, 0, and the value is signed bit: The coefficient of the degree of the argument, where the a / e {0,1} digit of the i-th bit of the / -th coefficient of the degree of the argument, is an l-bit binary number, in which the code is fixed before the fractional part. In contrast to the known device, in the proposed device, the coefficient AJ is an arbitrary number. If the coefficient is L;, 0, then it is represented in the forward code and the value of the sign bit is a 0. If the coefficient is L; Oh, it is presented in an additional code, and the value of the sign bit. First, in the second register 3, the input argument X is supplied with the argument X in the upper bits ahead. At the same time, in the third register 4, the input ratio 18 is applied to the coefficient Am in the lower bits ahead. The device is set up to calculate the value of the polynomial. FIG. 3, and the arrangement of numbers in the initial position ... is shown. The device operates cyclically (see the timing diagram of the control unit in each cycle shown in Fig. 2). Each cycle consists of (2l-1) cycles. In each clock cycle, the control input of the second register 3 of the shift receives the sign of the shift of the second register from the control unit 1. The sign of the shift of the second register is a sequence of (2l-1) pulses. Under, the effect of the sign of the shift of the second register in the second register 3 is the circulation of the argument in each cycle. In each cycle, the control input of the first register 2 of the shift receives the sign of the shift of the first register from the control unit 1. The sign of the shift of the first register is a sequence of 2n pulses. Under the effect of the sign of the shift of the first register in each clock cycle, the number in the first register 2 circulates, and in addition, in each cycle the number in the first register is shifted by one bit relative to the argument in the second register 3. As a result of the circulation of the number in the first register 2, and the circulation of the argument in the second register 3, the output of the first element And 7 produces digits of the bit products of these numbers. Under the influence of the clock pulses on the first element And 7, in each clock cycle, the digits of the bit products are transferred to the transfer counter 5. At the end of each clock cycle, the control input of the transfer counter 5 will indicate the shift of the transfer counter from the control unit. Under the influence of the sign of the shift of the transfer counter in the transfer counter 5, a shift is made by one bit of the number in it towards the lower digits. As a result, the output of the low-order bit of the transfer counter 5 at the end of each clock cycle appears, starting with the low-order, the next digit of the product of the number in the first register 2 and the argument in the second register 3. Thus, at the output of the least significant bit the transfer counter 5 will form within the first cycle, starting with the youngest, all {2 / d-1) digits of the product of the initial number, which is in the first register 2, and the "-discharge argument, which is in the second register 3. When performing the second half of the cycle, i.e. in n, (“+) , ..., (2га-1) clock ticks, the control unit 1 generates also signs of the floor, under the influence of which addition occurs in the sequential adder b, starting with the lower digits, two numbers, of which the first number is the highest n digits ( ) - the bit size is produced, and the second number is the next n - bit size factor with the degree of argument. Under the action of each attribute of the transfer, starting from the youngest, each digit of the sum from the output of the sequential adder b through the second element I 8 to the input of the first register 2 occurs. In addition, under the influence of each characteristic of the addition applied to the control input of the third register 4, a shift in the direction of the lower bits by one bit of the coefficient when the degree of the argument is stored in the third register 4, and in the released major bit is placed, starting with the youngest, the digit of the next, starting with the highest, the coefficient the one with the degree of argument that comes to the 18 input groups. Simultaneously with the sign of addition, the control unit produces an inversion of the characteristic of addition. Under the effect of inversion of the attribute of the addition to the third element AND 9, standing in the cyclic transfer chain of the first register 2, the cyclic transfer chain is opened at the moment when the input of the first register 2 under the influence of the folding feature is fed through the second element And 8 from the output of the series adder 6 digit amount. Thus, the replacement of the digits that come through the cyclic transfer chain to the input of the first register 2 is carried out with the digits that come from the output of the sequential adder b, i.e. the first register accumulates the result of the calculated polynomial value. After (m-fl) -fold repetition of the specified cycle in the first register 2, the result will be the calculated value of the polynomial. It is advisable to follow the operation of the device according to the chart of changing the contents of the registers shown in FIG. 3. After performing the first cycle in the nerve register. 2, the coefficient Am appears, in the second register 3 - without changing argument X, in the third register 4 - coefficient LT-1 (see Fig. 3.6). In the first cycle of the second cycle, the argument L is circulated in the second register 3 and the coefficient L ,,, is circulated in the first register 2 (see Fig. 3, s). As a result, at the output of the lower bit of the transfer counter 5, the figure of the younger (2n-2) -th bit of the product X-A-t will be generated. This figure will be o j-an-i. In the second cycle of the second cycle, at the output of the lower bit of the transfer counter 5, a digit will be formed of the next (2L-3) -th bit of the product HL of the second cycle at the output of the lower bit of the transfer counter 5 a digit of the nth digit of the X-Am product will be generated (see Fig. 3, d). In the nth cycle of the second cycle, the output of the sequential one from the chmator b will form the digit of the younger (n-1) -th bit of the n-digit number X-Am-Am-i. This figure will be. It arrives at the input of the first register 2, replacing with itself the digit of the lowest bit of the coefficient Л „,. Simultaneously, under the influence of the attribute of addition, a shift by one bit in the direction of the lower bits of the coefficient At-1 in the third regg: thr 4 and the reception of the digits ajij of the lower digit of the coefficient Am-z through tires 18 (see Fig. 3, d ) etc.

После выполнени  (2п-1)-го такта второго цикла в первом регистре 2 окажетс After the (2n-1) th cycle of the second cycle in the first register 2 is executed,

число АтХ+Ат-1, ЦифрЫ КОТОрОГО &о, Ььthe number of ATX + AT-1, WHICH & o, b

, ..., , во втором регистре 3 - без изменени  аргумент X, в третьем регистре 4 - коэффициент Лт-2 (см. фиг. 3,е)., ...,, in the second register 3 - without changing the argument X, in the third register 4 - the coefficient Lt-2 (see Fig. 3, e).

После выполнени  третьего цикла в первом регистре 2 окажетс  число ( ) , во втором регистре 3-без изменени  аргумента X, в третьем регистре 4 - коэффициент Ат-з и т. д.After the third cycle is executed, the number in the first register 2 will be (), in the second register 3 there will be no change in the argument X, in the third register 4 - the coefficient AT-3, etc.

После повторени  цикла () раз в иервом регистре 2 окажетс  вычисленное значение полиномаAfter repeating the cycle () once in iRev register 2, the calculated value of the polynomial will appear

У (...{(А„,Х: + ...+А,}Х+А,):U (... {(A „, X: + ... + A,} X + A,):

тt

2  2

во втором регистре 3 - без изменени  аргумент X третий регистр 4 свободен.in the second register 3, without changing the argument X, the third register 4 is free.

Рассмотрим работу четвертого элемента И 10.Consider the work of the fourth element And 10.

Поскольку коэффициент при степени аргумента Aj( 0, 1, ..., /п) может быть как положительным, так и отрицательным числом , то частичное значение полиномаSince the coefficient at the degree of the argument Aj (0, 1, ..., / n) can be both positive and negative, the partial value of the polynomial

...l( + + +... l (+ + +

+ ..+ ..

также может быть как положительным, так и отрицательным числом.It can also be both positive and negative.

В /-М цикле с помощью четвертого элемента И 10 в конце каждого из первых (п-1) тактов значение знакового разр да частичного значени  полинома Bj с выхода первого, счита  от входа, разр да первого регистра сдвига 2 подаетс  на вход первого регистра сдвига, что соответствует сдвигу числа Bj в пр мом коде, если Bj,, и соответствует сдвигу числа Bj в дополнительном коде, если .In the / -M cycle, using the fourth element AND 10 at the end of each of the first (n-1) cycles, the value of the sign bit of the partial value of the polynomial Bj from the output of the first, counting from the input, bit of the first shift register 2, is fed to the input of the first shift register , which corresponds to the shift of the number Bj in the direct code, if Bj ,, and corresponds to the shift of the number Bj in the additional code, if.

Если 5,-,0, то в данном цикле с помощью четвертого элемента И 10 в конце каждого из первых (п-1) тактов значение знакового разр да с выхода первого, счита  от входа, разр да первого регистра 2 сдвига подаетс  на вход первого регистра сдвига, что соответствует сдвигу числа 5,-в пр мом коде (см. фиг. 2, позицию 20). В этом случае умножение аргумента X на частичное значение полинома Bj происходит в пр мом коде точно также, как и в известном устройстве.If 5, -, 0, then in this cycle, using the fourth element AND 10 at the end of each of the first (p-1) ticks, the value of the sign bit from the output of the first, counting from the input, the bit of the first shift register 2, is fed to the input of the first shift register, which corresponds to the shift of the number 5, -in the forward code (see. Fig. 2, position 20). In this case, the multiplication of the argument X by the partial value of the polynomial Bj occurs in the direct code in the same way as in the known device.

Если Bj.G, то в данном цикле с помощью четвертого элемента И 10 в конце каждого из первых (п-1) тактов зиачеиие знакового разр да с выхода первого.If Bj.G, then in this cycle, using the fourth element And 10 at the end of each of the first (n-1) ticks, it is the sign bit from the output of the first one.

счита  от входа, разр да первого регистра сдвига подаетс  на вход первого регистра сдвига, что соответствует сдвигу числа :Bj в дополнительном коде (см. фиг. 2, позициюcounting from the input, the bit of the first shift register is fed to the input of the first shift register, which corresponds to the shift of the number: Bj in the additional code (see Fig. 2, position

19). В этом случае в отличие от известного З стройства, умножение аргумента X на частичное значение полинома Bj происходит в дополнительном коде без каких-либо преобразований в пр мой код, при этом результат X-Bj-.G представлен в дополнительном коде.nineteen). In this case, unlike the well-known Device, the multiplication of the argument X by the partial value of the polynomial Bj occurs in the additional code without any transformations to the direct code, and the result X-Bj-.G is presented in the additional code.

Органическим свойством сумматора  вл етс  обеспечение операции сложени  произвольных чисел, если отрицательные слагаемые представлены в дополнительном коде. Поэтому в данном цикле с выхода сумматора 6 через второй элемент И 8 на вход первого регистра 2 сдвига поступает младшими разр дами вперед новое частичное значение полинома Bj+i XBj- -Am-j-i. При этом число Sj+i может быть как положительным, так и отрицательным, поскольку слагаемые X-Bj и Am-j-i могут быть произвольными числами.The organic property of the adder is to provide the addition of arbitrary numbers if the negative terms are represented in the additional code. Therefore, in this cycle, from the output of the adder 6, through the second element I 8 to the input of the first register 2 of the shift, the new partial value of the polynomial Bj + i XBj- -Am-j-i comes forward. In this case, the number Sj + i can be both positive and negative, since the terms X-Bj and Am-j-i can be arbitrary numbers.

В первом цикле , поэтому цифры 6, начального значени  полинома В обозначены как а™-г на фиг. 3, б, д.In the first cycle, therefore, the digits 6, of the initial value of the polynomial B are indicated as a ™ -g in FIG. 3, b, d

Использование нового по сравнению с прототипом элемента - четвертого элемента И - и новых св зей выгодно отличает предлагаемое устройство расширением функциональных возможностей, заключающихс  в обеспечении вычислени  значени-  полинома с произвольными коэффициентами , что позвол ет вычисл ть с помощью предлагаемого устройства дополнительно по отношению к известному устройству такие важные дл  практики функции, как 7, sin J, , Y aTcigX, 7 arcshJ,The use of a new, compared to the prototype element — the fourth element of AND — and new connections favorably distinguishes the proposed device by expanding the functionality consisting in providing the calculation of the value of a polynomial with arbitrary coefficients, which makes it possible to calculate using the proposed device additionally with respect to the known device important practice functions such as 7, sin J,, Y aTcigX, 7 arcshJ,

y arcch J и т. д., которые аппроксимируютс  полиномами с произвольными коэффициентами .y arcch J, etc., which are approximated by polynomials with arbitrary coefficients.

Claims (2)

1. Авторское свидетельство СССР № 575648, кл. G 06F 7/38, 1975 (прототип).1. USSR author's certificate No. 575648, cl. G 06F 7/38, 1975 (prototype). -„affias:;. - „affias:;. 1-4 I I 1-1 :|---Ч1 1-Н -1 I J--I 11-4 I I 1-1: | --- P1 1-H -1 I J - I 1 ЯI гп-1 гп-1gp-1 gp-1 inin 2P 1-й 1st 2.-U такт2.-U tact 11eleven in-fin-f гп-1gp-1 Zn-1Zn-1 ТТTt .2w.2w 2/72/7 2/-2 / - IfIf (in-l}-u(in-l} -u (п-1)-й.п-й(p-1) th .nth --.- -k--.- -k Фиг. 2.FIG. 2 Puz.3a,f,ePuz.3a, f, e Ри.2.3 z,d,eRi.2.3 z, d, e
SU782602370A 1978-04-07 1978-04-07 Device for computing m-power polynomial values SU744559A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU782602370A SU744559A2 (en) 1978-04-07 1978-04-07 Device for computing m-power polynomial values

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU782602370A SU744559A2 (en) 1978-04-07 1978-04-07 Device for computing m-power polynomial values

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU575648A Addition SU111896A1 (en) 1955-03-31 1955-03-31 Method of making tool material

Publications (1)

Publication Number Publication Date
SU744559A2 true SU744559A2 (en) 1980-06-30

Family

ID=20758780

Family Applications (1)

Application Number Title Priority Date Filing Date
SU782602370A SU744559A2 (en) 1978-04-07 1978-04-07 Device for computing m-power polynomial values

Country Status (1)

Country Link
SU (1) SU744559A2 (en)

Similar Documents

Publication Publication Date Title
US4135249A (en) Signed double precision multiplication logic
SU744559A2 (en) Device for computing m-power polynomial values
SU690477A1 (en) Digital device for modulo limiting
SU711570A1 (en) Arithmetic arrangement
SU536490A1 (en) Device for calculating hyperbolic sine and cosine
SU922760A2 (en) Digital function generator
SU363119A1 (en) REGISTER OF SHIFT
SU691848A1 (en) Apparatus for computing fifth root
SU682895A1 (en) Apparatus for computing exponential functions
SU516037A1 (en) Device for calculating cubic root
SU602941A1 (en) Arrangement for raising binary numbers to the second power
SU879586A1 (en) Digital integrator
SU940167A1 (en) Device for solving linear simultaneous equations
SU960807A2 (en) Function converter
SU484522A1 (en) Device for generating hyperbolic functions
SU558276A1 (en) A device for simultaneously performing addition operations on a set of numbers
SU400005A1 (en) GENERATOR OF RANDOM FUNCTIONS
SU1115051A1 (en) Device for calculating squared number
SU541168A1 (en) Device for raising binary numbers to the power
SU813420A1 (en) Device for multiplying binary numbers in complementary codes
SU920714A1 (en) Device for calculation of second-degree polynomial
SU468239A1 (en) Generic Multiplier
SU748409A1 (en) Device for multiplying binary-decimal numbers
SU1080136A1 (en) Multiplying device
SU817726A1 (en) Device for solving integral equations