SU1020819A2 - Device for taking antilogarithms to the base two - Google Patents

Device for taking antilogarithms to the base two Download PDF

Info

Publication number
SU1020819A2
SU1020819A2 SU823394908A SU3394908A SU1020819A2 SU 1020819 A2 SU1020819 A2 SU 1020819A2 SU 823394908 A SU823394908 A SU 823394908A SU 3394908 A SU3394908 A SU 3394908A SU 1020819 A2 SU1020819 A2 SU 1020819A2
Authority
SU
USSR - Soviet Union
Prior art keywords
input
adder
operand
base
shift register
Prior art date
Application number
SU823394908A
Other languages
Russian (ru)
Inventor
Валентин Леонидович Строковский
Владимир Владимирович Клименко
Original Assignee
Предприятие П/Я Г-4590
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 Предприятие П/Я Г-4590 filed Critical Предприятие П/Я Г-4590
Priority to SU823394908A priority Critical patent/SU1020819A2/en
Application granted granted Critical
Publication of SU1020819A2 publication Critical patent/SU1020819A2/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

УСТРОЙСТВО ДЛЯ ПОТЕНЦИРОВАНИЯ ЛОГАРИФМОВ да ОСНОВАНИЮ ДВА по ав.. св. fe ЗО4574, отличающеес  тем, что, с целью повышени  точности потенцирова. ни , в него введен сумматс, причем вход младшего разр да целой части первого операнда - сумматора соединен с входом логической единицы устройства, вход дробной части первого операнда сумма:тора подключен к входу кода ма№ (Тиссы устройства, вход константы устро ства соедашен с входом второго операнда сумматора, выкод которого подключен к информационному входу регистра сдвига .DEVICE FOR THE POTENTIAL OF LOGARIFMES AND THE BASIS TWO ON AV. Fe ZO4574, characterized in that, in order to increase the accuracy of potentials. nor, the summat is entered into it, with the input of the lower part of the integer part of the first operand adder connected to the input of the logical unit of the device, the input of the fractional part of the first operand sum: the torus is connected to the input of the code m (Tissa device, the input of the organization constant is connected to the input the second operand of the adder, the code of which is connected to the information input of the shift register.

Description

ФигУFIG

О 00About 00

соwith

tir 1Гtir 1G

/,{х 1 Изобретение относ1 гс  к вычислитель ной технике и может быть использовано в споииапйоированиыч вычнслнгел х дл  потенцировани  логарифмов по основанию два. По ocHOBHOf.y авт.св, № ЗО4574 известно устройство дл  потенцировани  логарифмов по основанию два, содержащее генератор тактовых импульсов, регистр характеристики, счетчик, схему срав нени , схему И и регистр сдвига Недостатком устройства  вл етс  высока  погрецшость вычислени . Цель изобретени  - повышение точности потенцировани  . Поставленна  цель достигаетс  тем, что в устройство дл  потенцировани  логарифкгов по основанию дгьа введен сумматор, причем вход младшего разр да целой части первого операнда суълматора соединен с входом логической единицы устройства, вход дробной части первого опера1зда сумматора подключен к входу кода мантиссы устройства, вход константы устройства соединен с входом второго операнда сумматора, выход которого подключен к информационному входу регистра сдвига, На фиг,1 приведена функциональна  схема устройства. Устройство содержит регистр 1 характеристики , счетчик 2, схему ИЗ, схему 4 сравнени , сумматор 5, регистр 6 сдвига, генератор 7 тактовы х импульсов. На фиг.2 приведены гистограммы распределени  относительной погрешности потенцировани  (а - дл  прототипа, б - дл  предлагаемого устройства). Работа устройства основана на апн проксимации функции Y 2 отрезками пр мых . Уравнение аштроксимирующей пр мой имеет вид (,0625, где X - ДВОИЧНЫЙ логарифм П - характеристика логари ма:, - мантисса логарифма. Из уравнени  следует, что дл  опреде лени  числа Y по его двоичному логариф му необходимо из значени  логарифма вычесть величину характеристики логари ма, уменьшенную н единицу, что соотве ствуэт замене логарифма на величину полученное зпечение уменьш1{ть 92 напосто нную величину 0|06Z5 Q 0,00012 умножить полученный результат на 2 , что соответствует при двоичной записи числа сдвигу на п разр5щов влево. В исходном состо нии регистр 1 характеристики и счетчик 2 установлены в нулевое состО5Шие, схема .И 3, управл ема  выходным сигналом схемы 4 сравнени , открыта. Сумматор 5 работает в обратном коде . На входы первого операнда cy мaтoра подаетс  число 1 + , т.е. на раэр д с весом 2 подаетс  логическа  единица , а на разр ды, соответствующие дробной части, подаетс  кол мантиссы. На входы операнда сумматора подаетс  обратный код числа 0,000100 а . Такикт образом, на сумматоре 5 осуществл етс  вьиитание посто нного числа 6, ООО . Полученное на выходе сумматора 5 число 1 О, записываетс  характеристика логарифма. Тактовый генератор 7 вырабатывает импульсы, поступаюипш через открытую схему И 3 на вход синхрониза ши регистра 6 сдвига и счетный вход счетчика 2. При поступлении п импульсов число, записанное в регистре 6 сдвига, сдвигаетс  влево на п разр дов, а число на выходе счетчика 2 равно числу, записанноу в регистре 1 характеристики. При этом срабатывает схема 4 сравнени  и запирает схему И 3, предотвраща  дальнейший сдвиг числа в регистре 6 сдвига. Таким образом, введенное в регистр 6 сдвига число умножаетс  на 2 и поступает на выход устройства. Относительна  погрешность & вычислена в соответствии с выражением (-.0-0, При изменени х X от О до 32 с шаом О, О1. Среднее значение относительной пог ешности (фиг,2) дл  прототипа g 4,1 %, а дл  предлагаемого уст ойства wS 1, 6 %. Технико-экономическа  эффективность редлагаемого устройства заключаетс  том, что при незначительных дополниельных аппаратурных затратах по сравению с прототипом (один сумматор) реднее 31гачение относительной погрешости потенцирующего устройства уменьаетс  в 2,6 раза. 0 0,5 i f.5 г J 4J агг4 Ci224 0 0,5 / .52 2,6 J 3.5 4 /, {x 1 The invention is relative to the computing technique and can be used in the computational vocal techniques for potentiating the logarithms on the base two. According to ocHOBHOf.y auth. C., No. ZO4574, there is a device for potentiating logarithms on the base two, containing a clock generator, a characteristic register, a counter, a comparison circuit, an AND circuit and a shift register. The disadvantage of the device is a high computation of subarseness. The purpose of the invention is to improve the accuracy of potentiation. The goal is achieved by adding an adder to the device for potentiating the logarithms on the base of the cell, and the low-order input of the whole part of the first operand of the coolator is connected to the input of the logical unit of the device, the fractional part of the first totalizer position of the device is connected to the input of the device mantissa code, the device constant input connected to the input of the second operand of the adder, the output of which is connected to the information input of the shift register; FIG. 1 is a functional diagram of the device. The device contains a register of 1 characteristics, a counter 2, a circuit FROM, a circuit 4 of comparison, an adder 5, a register 6 of shift, a generator of 7 clock pulses. Figure 2 shows histograms of the distribution of the relative error of potentiation (a for the prototype, b for the proposed device). The operation of the device is based on an apn of the proximation of the function Y by 2 straight segments. The ashtroxing direct equation has the form (, 0625, where X is the BINARY logarithm P, the logarithm characteristic :, is the mantissa of the logarithm. It follows from the equation that, to determine the number Y by its binary logarithm, it is necessary to subtract the logarithm from the logarithm reduced by one, which corresponds to replacing the logarithm with the value of the obtained reduction decreasing the multiplied result by 2, which corresponds to a binary shift in the number of shifts by n times. In the initial state And the characteristics register 1 and the counter 2 are set to zero, the circuit. And the 3, controlled by the output signal of the comparison circuit 4, is open. The adder 5 operates in the reverse code. The number 1 + is fed to the inputs of the first cy operand, i.e. Rare d with weight 2 is supplied with a logical unit, and the number of mantissa is fed to the bits corresponding to the fractional part. The return code of the number 0.000100 a is fed to the inputs of the operand of the adder. On the adder 5, a constant 6 is generated, LLC . Obtained at the output of the adder 5, the number 1 O, is recorded characteristic of the logarithm. The clock generator 7 generates pulses coming through the open circuit AND 3 to the clock synchronization input of the shift register 6 and the counting input of counter 2. When n pulses are input, the number recorded in shift register 6 is shifted to the left by n bits, and the number at the output of counter 2 equal to the number recorded in register 1 characteristics. In this case the comparison circuit 4 is activated and locks the AND 3 circuit, preventing a further shift of the number in the shift register 6. Thus, the number entered into the shift register 6 is multiplied by 2 and fed to the output of the device. Relative error & calculated in accordance with the expression (-.0-0, With changes in X from O to 32 with O, O1). The average relative magnitude (Fig, 2) for prototype g is 4.1%, and for the proposed device wS 1, 6%. The technical and economic efficiency of the device being offered is that with minor additional hardware costs compared to the prototype (one adder), the relative error of the potentiator decreases by a factor of 2.6 by a factor of 0. 0 0.5 i f.5 g J 4J agg4 Ci224 0 0.5 / .52 2.6 J 3.5 4

ff,m o.srff, m o.sr

ff%ff%

4 a 6 Ф{/г,2, .5 5 5,y 6 4,5 5 5,5 6 6.У 4 a 6 F {/ g, 2, .5 5 5, y 6 4.5 5 5.5 6 6.Y

Claims (1)

УСТРОЙСТВО ДЛЯ ПОТЕНЦИРОВАНИЯ ЛОГАРИФМОВ ПО ОСНОВА- , НИЮ ДВА по авт. св. № 304574, отличающееся тем, что, с ' целью повышения точности потенцирова-. ния, в него введен сумматор, причем вход младшего разряда целой части первого операнда - сумматора соединен с входом логической единицы устройства, вход дробной части первого операнда сумматора подключен к входу кода мантиссы устройства, вход константы устройства соединен с входом второго операнда сумматора, выход которого подключен к информационному входу регистра сдвига.DEVICE FOR POTENTIATING LOGARITHMS ON THE BASIS-, NII TWO by ed. St. No. 304574, characterized in that, for the purpose of increasing the accuracy of the potentiating. of input, the adder is inserted into it, and the input of the least significant part of the first operand - adder is connected to the input of the logical unit of the device, the input of the fractional part of the first operand of the adder is connected to the input of the device mantissa code, the input of the device constant is connected to the input of the second operand of the adder, the output of which is connected to the information input of the shift register. .SU .,„1020819 >.SU., „1020819>
SU823394908A 1982-02-08 1982-02-08 Device for taking antilogarithms to the base two SU1020819A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU823394908A SU1020819A2 (en) 1982-02-08 1982-02-08 Device for taking antilogarithms to the base two

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU823394908A SU1020819A2 (en) 1982-02-08 1982-02-08 Device for taking antilogarithms to the base two

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU304574 Addition

Publications (1)

Publication Number Publication Date
SU1020819A2 true SU1020819A2 (en) 1983-05-30

Family

ID=20996861

Family Applications (1)

Application Number Title Priority Date Filing Date
SU823394908A SU1020819A2 (en) 1982-02-08 1982-02-08 Device for taking antilogarithms to the base two

Country Status (1)

Country Link
SU (1) SU1020819A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское ежвдетепьство СХХР 304574, Kn.Q Об F 5/ОО, 1970 (прототип). *

Similar Documents

Publication Publication Date Title
Garner Number systems and arithmetic
US3548328A (en) Digital fm discriminator
SU1020819A2 (en) Device for taking antilogarithms to the base two
Krandick et al. Efficient multiprecision floating point multiplication with optimal directional rounding
JPH0114610B2 (en)
SU840894A1 (en) Trigonometric function computing device
SU744597A1 (en) Digital function generator
SU622087A1 (en) Sine and cosine function digital computer
SU1522233A2 (en) Device for solving algebraic equations
SU1383345A1 (en) Logarithmic converter
SU1319025A1 (en) Device for calculating values of sine function
SU1259256A1 (en) Calculating device
SU633017A1 (en) Exponentiation device
SU962972A1 (en) Digital function generator
SU972487A1 (en) Harmonic oscillation digital generator
SU813442A1 (en) Function computing device
SU458947A1 (en) Device for adjusting the quantization level
SU1361545A1 (en) Division device
SU736079A1 (en) Digital function generator
SU1005041A1 (en) Unit-counting function converter
SU732892A1 (en) Stochastic functional converter
SU834889A1 (en) Code-to-frequency converter
SU1206770A1 (en) Device for dividing in redundant code
SU561184A1 (en) Device for calculating the root of the fourth degree
SU862151A1 (en) Sine-to-cosine converter