SU1297039A1 - Device for calculating function values - Google Patents

Device for calculating function values Download PDF

Info

Publication number
SU1297039A1
SU1297039A1 SU853864616A SU3864616A SU1297039A1 SU 1297039 A1 SU1297039 A1 SU 1297039A1 SU 853864616 A SU853864616 A SU 853864616A SU 3864616 A SU3864616 A SU 3864616A SU 1297039 A1 SU1297039 A1 SU 1297039A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
argument
mantissa
output
block
Prior art date
Application number
SU853864616A
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 SU853864616A priority Critical patent/SU1297039A1/en
Application granted granted Critical
Publication of SU1297039A1 publication Critical patent/SU1297039A1/en

Links

Abstract

Изобретение позвол ет вычисл ть функции с плавающей зап той, использу  вычисление вспомогательной функции с фиксированной зап той. Цель ции f(х) где (х) - вычисл изобретени  - упрощение устройства достигаетс  за счет вычислени  функ- ф(х X етс  с фиксированной, а Cf(x) - с плавающей зап той. Предложенное устройство содержит блок 1 делени , сдви- гатель 2, счетчик 3, вычитатель 4, блок 5 пам ти, в котором хран тс  значени  функции ср(х) x-f(x) с фиксированной зап той, денормализа- тор 6, блок 7 вычислени  модул  мантиссы . Данное устройство может &лть исполнено в виде одной большой интегральной схемы и использовано в качестве функционального расширител  центрального процессора ЭВМ. 1 ил. i (ЛThe invention permits the computation of floating point functions using the computation of an auxiliary function with a fixed comma. Objectives f (x) where (x) is the calculation of the invention — the simplification of the device is achieved by calculating the function (x X is fixed, and Cf (x) is floating point. The proposed device contains a dividing unit 1 2, counter 3, subtractor 4, memory block 5, which stores the values of the cp (x) xf (x) fixed-point function, denormalizer 6, block 7, the calculation of the mantissa module. This device can & It is made in the form of a single large integrated circuit and is used as a functional expander of the central process. ra computer 1. i. (L

Description

1 .12970391 .1297039

Изобретение относитс  к вычислительной технике и может быть использовано при построении функциональных расширителей электронных вычислительных машин различных классов и назначени .The invention relates to computing and can be used in the construction of functional expanders of electronic computers of various classes and purposes.

Целью изобретени   вл етс  упрощение устройства.The aim of the invention is to simplify the device.

Вычисление функции f(x) с плаваю2Calculation of the function f (x) with floating2

татель 4, блок 5 пам ти, денормали затор 6, блок 7 вычислени  модул  мантиссы аргумента. Входы 8 пор дк аргумента подключены к информацион ным инверсным входам счетчика 3, ч выходы  вл ютс  выходами 9 пор дкаTalet 4, memory block 5, denormal mash 6, block 7 calculating the module of the argument mantissa. The inputs of the 8th order of the argument are connected to the information inverse inputs of the counter 3, and the outputs are the outputs of the 9th order.

результата, и к управл ющим входамresult, and to the control inputs

денормализатора 6. Входы 10 мантис сы аргумента соединены с информациdenormalizer 6. Inputs 10 of the mantis sy argument are connected to the information

щей зап той достигаетс  использова- О онньши входами блока 7 вычислени  нием вычислени  в функциональном блоке (в простейшем случае - выборки из пам ти) функции (|(х)Х f(x) с после ...- . Cf(x) дующим вычислением г(.х; a comma is achieved by using the inputs of block 7 by calculating the calculation in a function block (in the simplest case, a memory sample) of the function (| (x) x f (x) with after ...-. Cf (x) following calculating g (.x;

При J5At j5

модул  мантиссы и с входами делите л  блока 1 делени , а вход 11 знак мантиссы аргумента подключен к вхо ду знака делител  блока 1 делени  к управл ющему входу блока 7 вычис лени  модул  мантиссы аргумента.the module of the mantissa and with the inputs of the division of the division unit 1, and the input 11 of the symbol of the argument mantissa is connected to the input of the separator of the division unit 1 to the control input of the unit 7 for calculating the module of the argument mantissa.

этом tf(x) вычисл етс  с фиксированной , а f(x) - с плавающей зап той. Использование этого преобразовани  дл  вьгч:ислени  функции с плавающей зап той эффективно примен етс  дл  нечетных функций, представл емых р дом Тейлора вида:This tf (x) is computed with a fixed, and f (x) with a floating point. Using this conversion to play: floating point function definitions are effectively applied to odd functions represented by the Taylor series of the form:

1one

f(x) -- (а,х+аf (x) - (a, x + a

+,..) +, ..)

Это справедливо, в частности, дл  функций ctg(x), cth(x) и др.This is true, in particular, for the functions ctg (x), cth (x), etc.

Дл  значений аргумента х, представленного в форме с плавающей зап той х тх 2, в диапазоне X в(2 , /4) пор док аргумента Pj,1,N, при вычислении f(x)ctgx в функциональ:Ном блоке вычисл етс  Cf,(x)x-ctg X с фиксированной зап той , так как с(х) е (Т/4, 1), а результат f, (х) cf,(x)/x представл етс  с плавающей зап той. Аналогичным образом вычисл етс  также f(x) cth(x), X е (, 1), а также другие функции такого типа, например ,For argument values x, represented in floating point form xxx 2, in the range X in (2, / 4), the argument order is Pj, 1, N, when calculating f (x) ctgx in functionality: Nom block is calculated Cf , (x) x-ctg X with fixed comma, since c (x) e (T / 4, 1), and the result f, (x) cf, (x) / x is floating-point. Similarly, f (x) cth (x), X e (, 1), as well as other functions of this type, for example, are also calculated.

1 Л+1% in().1 L + 1% in ().

Таким образом, предлагаютс  новый способ вычислени  функций с плавающей зап той, состо щий в том, что вычислжгтс  вспомогательна  функци  cp(x)x-f(x) с фиксированной зап той с последующим вычислением отношени Thus, a new method for calculating floating-point functions is proposed, which consists in calculating the auxiliary function cp (x) x-f (x) with a fixed comma and then calculating the ratio

f(x)f (x)

(р(х)(p (x)

- и устройство, реализую- 50- and a device that implements 50

гg

щее этот способ. Обычно же примен етс  пр мое вычисление f(х) с плавающей зап той выполнением многих операций с плавающей зап той.this way. Usually, direct calculation of f (x) with a floating point is used to perform many operations with a floating point.

На чертеже приведена блок-схема предложенного устройства.The drawing shows a block diagram of the proposed device.

Устройство содержит блок 1 делени , сдзигатель 2, счетчик 3, вычиThe device contains a block 1 division, sdzigatel 2, counter 3,

22

татель 4, блок 5 пам ти, денормали- затор 6, блок 7 вычислени  модул  мантиссы аргумента. Входы 8 пор дка аргумента подключены к информационным инверсным входам счетчика 3, чьи выходы  вл ютс  выходами 9 пор дка4, memory block 5, denormalizer 6, block 7, calculating the module of the argument mantissa. The 8-order inputs of the argument are connected to the information inverted inputs of counter 3, whose outputs are 9-order outputs.

результата, и к управл ющим входамresult, and to the control inputs

денормализатора 6. Входы 10 мантиссы аргумента соединены с информационньши входами блока 7 вычислени  denormalizer 6. The inputs 10 of the argument mantissa are connected to the informational inputs of block 7 of the calculation

онньши входами блока 7 вычислени  on the inputs of the calculation block 7

модул  мантиссы и с входами делител  блока 1 делени , а вход 11 знака мантиссы аргумента подключен к входу знака делител  блока 1 делени  и к управл ющему входу блока 7 вычислени  модул  мантиссы аргумента.the module of the mantissa and with the inputs of the divider of the division unit 1, and the input 11 of the symbol of the mantissa of the argument is connected to the input of the divider of the division unit 1 and to the control input of the unit 7 for calculating the module of the argument mantissa.

Предлагаемое устройство работает следующим образом.The proposed device works as follows.

Мантисса т аргумента х со входов 10 поступает на информационные входы блока 7 вычислени  модул  мантиссы , в котором под управлением знакового разр да мантиссы т аргумента , поступающего с входа 11, определ етс  модуль мантиссы ш (предполагаетс  mj( со входов 10 поступает представленной в дополнительном коде). Модуль мантиссы га с выходов блока 7 поступает на входы уменьшаемого вычислител  4 и на информационные входы денормализатора 6, в .котором под управлением пор дка РThe mantissa of argument x from inputs 10 goes to the information inputs of block 7 of the module calculation of the mantissa, in which the module of the mantissa sh is determined by the control of the sign bit of the mantissa of argument coming from input 11 (assumed mj (from inputs 10 is presented in the additional code The module of the mantissa from the outputs of block 7 is fed to the inputs of the decremented calculator 4 and to the information inputs of the denormalizer 6, in which under the control of order P

аргумента х выполн етс  денормали- заци  модул  мантиссы т, т.е. аргумент X на выходе денормализатора 6 представл етс  в фирме с фиксированной зап той. Это значение х с выхода денормализатора 6 поступает на входы блока 5, где вычисл етс  с фиксированной зап той значение функции Cf(x) X f(x). С выхода блока 5 значение ср (х) поступает на входы сдви- гател  2 и на входы вычитаемого вы- читател  4, где по знаку разности определ етс  значение (}(х) больше или равно модулю мантиссы /т;,/. В пучае, если (|(х) 5 то вырабатываетс  сигнал увеличени  содержимого счетчика 3 на два (добавочна  единица обеспечивает вз тие дополнительного кода от отрицательного пор дка аргумента дл  получени  пор дка функции ) и сдвиг содержимого сдвигател  2 на один разр д вправо дл  обеспечени  правильной работы блока 1 делени  (делимое должно быть меньше делител ) , так как модуль мантиссы арof argument x, the modulus of the mantissa is denormalized, i.e. The argument X at the output of the denormalizer 6 is represented in the firm with a fixed comma. This value x from the output of the denormalizer 6 is fed to the inputs of block 5, where the value of the function Cf (x) X f (x) is calculated with a fixed comma. From the output of block 5, the value of cp (x) is fed to the inputs of the shifter 2 and to the inputs of the subtractile subtractor 4, where the difference sign determines the value (} (x) is greater than or equal to the module mantissa / t;, /. , if (| (x) 5 then a signal is generated to increase the content of counter 3 by two (the additional unit takes additional code from the negative order of the argument to get the order of the function) and shifts the content of the shifter 2 by one bit to the right to ensure proper operation block 1 division (the dividend must be less than the divisor ), Since the module mantissa ap

33

гумента не выходит (0,5:1), а q(x) е (1Г/4, Ч (х) р I of the argument does not come out (0.5: 1), and q (x) e (1G / 4, H (x) p I

ШуShu

шениеsewing

е (0,5:2). Еe (0.5: 2). E

то вырабатываетс  только сигнал увеличени  содержимого счетчика 3 на единицу. С выходов сдвигатёл  2 значение Ц(х) поступает на вход делимого блока 1 делимого, на вход делител  которого поступает значение мантиссы аргумента т со входов 10 и знак мантиссы с входа 11. В результате делени  на выходах 12 блока 1 делени  получаетс  значение мантиссы функции f(х), а на выходах 9 счетчика 3 - значение пор дка функции f (х) .That is, only a signal to increase the content of counter 3 per unit is generated. From the outputs of the shifter 2, the value C (x) is fed to the input of the divisible block 1 of the dividend, to the input of the divider which receives the value of the mantissa of the argument m from inputs 10 and the sign of the mantissa from the input 11. As a result of the division at the outputs 12 of block 1, the value of the mantissa of the function f is obtained (x), and at outputs 9 of counter 3, the order value of the function f (x).

вычислени  модул  мантиссы аргумента Предложенное устройство может быть20 соединен с информационным входом девыполнено на серийных микросхемах, а именно блок 1 делени  (КР1802 ВР2), Сдвигатель 2 (К155 ИР1), счетчик 3 (К155 ИЕ7), вычитатель 4 (К555СП1), функциональный блок 5 (К501 РЕ 1П или КР 556 РТ4), денормализатор 6 (КР 1802 ВР1), блок 7 вычислени  модул  мантиссы (К155 ИЕ7).calculating the mantissa module of the argument The proposed device can be 20 connected to the information input on a series of microcircuits, namely division unit 1 (КР1802 ВР2), Shift 2 (К155 ИР1), counter 3 (К155 ИЕ7), subtractor 4 (К555СП1), function block 5 (K501 PE 1P or KP 556 PT4), denormalizer 6 (KP 1802 BP1), block 7 calculation of the mantissa module (K155 IE7).

нормализатора и входом уменьшаемого вычитател , выход денормализатора со единен с адресным входом блока пам ти , выход которого соединен с входом вычитаемого вычитател  к с информационным входом сдвигатёл , выход которого соединен с входом делимого блока делени , выход которого  вл етс  выходом мантиссы функции устДенормализатор 6 может быть реали-30 ройства, информационный вход счет- зован, например, на основании микросхем Am25S10, отечественный аналог К531 ИР il. При соответствующем соединении Ara25S10 могут быть использованы дл  сдвига любого числа битов 35the normalizer and the input of the decremented subtractor, the output of the denormalizer is connected to the address input of the memory unit, the output of which is connected to the input of the subtracted subtractor to the information input of the shifter, the output of which is connected to the input of the divisible division unit, the output of which is the output of the mantissa of the function setDornormalizer 6 real-30 solutions, information input is counted, for example, on the basis of Am25S10 microcircuits, the domestic analogue of the K531 IR il. With the appropriate connection, Ara25S10 can be used to shift any number of bits 35

чика -соединен с управл ющим входом денормализатора, выход знакового раз р да вычитател  соединен с входом управлени  направлением сдвига сдвигатёл  и со счетным входом счетчика , выход которого  вл етс  выходом пор дка функции устройства.The pin is connected to the control input of the denormalizer, the output of the sign subtractor is connected to the shift direction shift control input and to the counting counter input, the output of which is the output of the order of the device function.

на любое число разр дов вправо или .влево.to any number of bits right or left.

Составитель З.Шершнева Редактор Л.Повхан Техред М.Ходанич Корректор С.ЧерниCompiled by Z. Shershneva Editor L. Povkhan Tehred M. Khodich Proofreader S. Cherni

Заказ 781/51 Тираж 673 ПодписноеOrder 781/51 Circulation 673 Subscription

ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee

по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5

Производственно-полиграфическое предпри тие, г. Ужгород, ул. Проектна , 4Production and printing company, Uzhgorod, st. Project, 4

Claims (1)

Формула изобретени  Устройство вычислени  функций, содержащее блок пам ти, вычитатель,счетчик , сдвигатель, причем информационныи вход счетчика  вл етс  входом пор дка аргумента устройства, отличающеес  тем, что, с целью упрощени  устройства, оно содержит блок делени , денормализатор,The invention of a function calculating device comprising a memory block, a subtractor, a counter, a shifter, wherein the information input of the counter is an input to the order of the device argument, characterized in that, in order to simplify the device, it contains a dividing unit, a denormalizer, блок вычислени  модул  мантиссы аргумента , информационный вход которого  вл етс  входом мантиссы аргумента устройства и соединен с входом делител  блока делени , .управл ющийthe module for calculating the modulus of the argument's mantissa, whose information input is the input of the mantissa of the device argument and connected to the input of the divider of the divider, the control вход блока вычислени  модул  мантиссы аргумента и вход знака делител  блока делени  соединен с входом знака аргумента устройства, выход блокаthe input of the calculating unit of the argument mantissa module and the input of the sign of the divider of the division block are connected to the input of the sign of the argument of the device, the output of the block нормализатора и входом уменьшаемого вычитател , выход денормализатора соединен с адресным входом блока пам ти , выход которого соединен с входом вычитаемого вычитател  к с информационным входом сдвигатёл , выход коройства , информационный вход счет- the normalizer and the input of the decremented subtractor, the output of the denormalizer is connected to the address input of the memory unit, the output of which is connected to the input of the subtracted subtractor to the information input of the shifter, the output of the truth, the information input of the counter- чика -соединен с управл ющим входом денормализатора, выход знакового разр да вычитател  соединен с входом управлени  направлением сдвига сдвигатёл  и со счетным входом счетчика , выход которого  вл етс  выходом пор дка функции устройства.The key is connected to the control input of the denormalizer, the output of the sign bit of the subtractor is connected to the control input of the shift direction of the shift and with the counting input of the counter, the output of which is the output of the order of the device function.
SU853864616A 1985-02-27 1985-02-27 Device for calculating function values SU1297039A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853864616A SU1297039A1 (en) 1985-02-27 1985-02-27 Device for calculating function values

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853864616A SU1297039A1 (en) 1985-02-27 1985-02-27 Device for calculating function values

Publications (1)

Publication Number Publication Date
SU1297039A1 true SU1297039A1 (en) 1987-03-15

Family

ID=21166053

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853864616A SU1297039A1 (en) 1985-02-27 1985-02-27 Device for calculating function values

Country Status (1)

Country Link
SU (1) SU1297039A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 355619, кл. G 06 F 7/38, 1970. Авторское свидетельство СССР № 1145340, кл. G 06 F 7/544, 1983. *

Similar Documents

Publication Publication Date Title
US5222037A (en) Floating-point processor for performing an arithmetic operation on fixed-point part data with high speed rounding of a result
US10019231B2 (en) Apparatus and method for fixed point to floating point conversion and negative power of two detector
US5148386A (en) Adder-subtracter for signed absolute values
EP0158530A2 (en) Nonrestoring divider
US4758974A (en) Most significant digit location
US4110831A (en) Method and means for tracking digit significance in arithmetic operations executed on decimal computers
SU1297039A1 (en) Device for calculating function values
EP0551531A1 (en) Apparatus for executing ADD/SUB operations between IEEE standard floating-point numbers
JP2511527B2 (en) Floating point arithmetic unit
US4866655A (en) Arithmetic processor and divider using redundant signed digit
JP2902041B2 (en) Floating point arithmetic unit
SU1295387A1 (en) Device for calculating complex number modulus
SU1290300A1 (en) Device for summing two floating point numbers
RU2753184C1 (en) Parametrizable single-stroke binary multiplier with fixed dot in direct and auxiliary code
SU1297038A1 (en) Device for calculating function values
SU1160403A1 (en) Device for extracting square root
SU1527633A1 (en) Device for calculation of arc sine function
US3486015A (en) High speed digital arithmetic unit with radix correction
JPH08263269A (en) Floating-point arithmetic circuit
SU1359778A1 (en) Root extracting device
SU693379A2 (en) Function generator
SU1080135A1 (en) Computing device
SU1522197A1 (en) Device for calculation of cosine of a number
SU1319025A1 (en) Device for calculating values of sine function
SU1193666A1 (en) Device for forming sign of serial addition result