SU1383345A1 - Logarithmic converter - Google Patents
Logarithmic converter Download PDFInfo
- Publication number
- SU1383345A1 SU1383345A1 SU864098243A SU4098243A SU1383345A1 SU 1383345 A1 SU1383345 A1 SU 1383345A1 SU 864098243 A SU864098243 A SU 864098243A SU 4098243 A SU4098243 A SU 4098243A SU 1383345 A1 SU1383345 A1 SU 1383345A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- counter
- input
- output
- control unit
- register
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/544—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices for evaluating functions by calculation
- G06F7/556—Logarithmic or exponential functions
Abstract
Изобретение относитс к цифровой вычислительной технике и предназначено дл вычислени логарифма, представленного в двоичном коде. Цель изобретени - повьппение точности вычислени логарифма. В состав преобразовател вход т регистр 1, генератор импульсов 2, счетчик 3 характеристики , первый элемент И 4, счетчик 5, второй и третий элементы И 6 и 7, счетчик 8 числа, делитель 9, счетчик 10 мантиссы, блок управлени 11, состо щий из элемента И 12, счетчика- распределител 13 и формировател 14. 1 ил. о 9The invention relates to digital computing and is intended to calculate the logarithm represented in binary code. The purpose of the invention is to increase the accuracy of the calculation of the logarithm. The converter includes the register 1, the pulse generator 2, the counter 3 characteristics, the first element AND 4, the counter 5, the second and third elements AND 6 and 7, the counter 8 numbers, the divider 9, the counter 10 mantissa, the control unit 11 consisting from the element And 12, the counter-distributor 13 and the former 14. 1 Il. about 9
Description
ffff
(Л(L
соwith
0000
со со иwith so and
СПSP
1one
Изобретение относитс к цифровой вычислительной технике : и предназначено дл вычислени логарифма, представленного в двоичном коде.The invention relates to digital computing: and is intended to calculate the logarithm represented in binary code.
Цель и зобретени - повышение точности вычислени логарифма.The purpose and the invention is to increase the accuracy of the logarithm calculation.
На чертеже представлена блок-схема логарифмического преобразовател The drawing shows a block diagram of a logarithmic converter
Преобразователь содержит регистр 1, генератор 2 импульсов, счетчик 3 характеристики, первый элемент И 4, счетчик 5., второй и третий элементы И 6 и 7, счетчик 8 числа, делитель 9The Converter contains a register 1, a generator of 2 pulses, a counter 3 characteristics, the first element And 4, the counter 5., the second and third elements And 6 and 7, the counter 8 numbers, divider 9
счетчик 10 мантиссы, блок 11 управле- 15 зультат умножить на 100.counter 10 mantissa, block 11 control- 15 result multiplied by 100.
ни , состо щий из элемента И 12, счетчика-распределител 13 и формировател 14. nor, consisting of an element And 12, the counter-distributor 13 and the former 14.
Вычисление логарифма ведетс вThe calculation of the logarithm is conducted in
два этапа. На первом этапе вычисл ет- 20 ние содержимого счетчика 8 на 200two stages. At the first stage, the calculation of the contents of the counter 8 by 200
с характеристика логарифма числа. Блок управлени по внешнему сигналу Ур , переключающему через элемент И 12 счетчик-распределитель 13 в первое положение, выдает сигнал, кото- рый поступает на элемент И 4 и разрешает прохождение импульсов от генератора 2 на счетный вход счетчика 3 и вход сдвига регистра 1. Эти импульсы , подсчитываемые.счетчиком 3 харак- теристики, сдвигают двоичный код числа в регистре 1 в сторону старших разр дов до тех пор, пока старша единица кода не займет старший разр д регистра, этот сигнал через формирователь 14 поступает на установочный вход счетчика 8 числа и через элемент И 6 на счетчик 5, разреша , запись в них сдвинутого числа. Одновременно этот сигнал через элемент И 32 переключает счетчик-распределитель 13 во второе положение,и блок управлени выдает сигнал, который дает разрешение через элемент И 7 на прохождение импульсов от генератора 2 на счетные входы счетчико в 5 и 8. По этому сигналу на втором этапе вы- числ етс мантисса двоичного логарифма . Вычисление логарифма ведетс по формулеwith the characteristic of the logarithm of a number. The control unit, using an external signal Ur, switching through the element 12 of the distributor 13 to the first position, generates a signal that arrives at the element 4 and allows the passage of pulses from the generator 2 to the counting input of the counter 3 and the shift input of register 1. These the pulses counted by the counter 3 characteristics shift the binary code of the number in register 1 towards the higher bits until the highest unit of the code does not occupy the high register bit, this signal is fed through the driver 14 to the installation input of the counter 8 numbers and through the element And 6 on the counter 5, permitting, writing in them the shifted number. At the same time, this signal through element 32 switches the distribution counter 13 to the second position, and the control unit outputs a signal that gives permission through element AND 7 for the passage of pulses from generator 2 to the counting inputs of the counter at 5 and 8. This signal at the second stage The binary logarithm mantissa is calculated. The calculation of the logarithm is based on the formula
log,N п +log, N p +
2(N- (Л2 ),2 (N- (L2),
где п - характеристика двоичного логарифма.where n is the binary logarithm characteristic.
Из анализа формулы очевидно, что дл вычислени мантиссы необходимо: записать в счетчик 5 число N/2, т.е. число N, сдвинутое на один разр д вFrom the analysis of the formula it is obvious that in order to calculate the mantissa it is necessary: to write down the number N / 2 in the counter 5, i.e. number N shifted by one bit
сторону младших разр дов, при этом старший разр д числа окажетс 2 V , прибавить к нему 2 , т.е. в разр д 2 записать 1; записать в счетчик 8 числа число N, причем в старший раз-р д 2, записать нуль, т.е. содержимое равно N-1, содержимое счетчика 8 числа умножить на два и разделить на содержимое счетчика 5, результат подсчитать с помощью счетчика 10 мантиссы . Так как мантисса всегда меньше единицы, то дл записи двух значащих цифр мантиссы необходимо реТаким образом, если в конце первого этапа происходит запись в счетчиц ки 5 и 8 всех необходимых данных, то во втором этапе происходит умноже25 ЗО 45 the side of the lower bits, while the highest bit of the number will be 2 V, add 2 to it, i.e. in bit 2, write 1; write the number N into the counter of the 8th number, moreover, write the zero to the highest time, i.e. write zero; the content is N-1, the contents of the counter 8 are multiplied by two and divided by the contents of counter 5, the result is calculated using the counter 10 mantissa. Since the mantissa is always less than one, in order to record two significant digits of the mantissa, it is necessary to retouch, if at the end of the first stage there is a recording in the counters 5 and 8 of all the necessary data, then in the second stage, there is a lot more than 25 DL 45
3535
4040
00
5five
и деление его на содержимое счетчика 5. Сигнал от Шока 11 управлени разрешает прохождение импульсов от генератора 2 на вычитающий вход счетчика 5 и на вычитающий вход счетчика 8. Прохождение импульсов разрешаетс до обнулени счетчика 8. Импульсы с выхода переноса счетчика 5 подсчитываютс счетчиком 10 мантиссы.and dividing it by the contents of counter 5. The signal from Shock 11 of the control permits the passage of pulses from generator 2 to the subtracting input of counter 5 and to the subtracting input of counter 8. The passage of pulses is allowed before zeroing of counter 8. Pulses from the transfer output of counter 5 are counted by mantissa counter 10.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864098243A SU1383345A1 (en) | 1986-06-04 | 1986-06-04 | Logarithmic converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864098243A SU1383345A1 (en) | 1986-06-04 | 1986-06-04 | Logarithmic converter |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1383345A1 true SU1383345A1 (en) | 1988-03-23 |
Family
ID=21249256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864098243A SU1383345A1 (en) | 1986-06-04 | 1986-06-04 | Logarithmic converter |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1383345A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2642370C1 (en) * | 2017-03-21 | 2018-01-24 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Кубанский государственный технологический университет" (ФГБОУ ВО "КубГТУ") | Device for calculating logarithmic functions |
-
1986
- 1986-06-04 SU SU864098243A patent/SU1383345A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 691862, кл. G 06 F 7/556, 1976. Авторское свидетельство СССР № 767755, кл. G 06 F 7/556, 1978. * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2642370C1 (en) * | 2017-03-21 | 2018-01-24 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Кубанский государственный технологический университет" (ФГБОУ ВО "КубГТУ") | Device for calculating logarithmic functions |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1383345A1 (en) | Logarithmic converter | |
SU1280624A1 (en) | Device for multiplying the floating point numbers | |
SU1401456A1 (en) | Digital device for computing the logarithm of a number | |
SU1151955A1 (en) | Dividing device | |
SU1120318A1 (en) | Device for calculating values of exponential dependences | |
SU1290535A1 (en) | Data format converter | |
SU902282A1 (en) | Device for receiving information through two parallel communication channels | |
SU388361A1 (en) | FUNCTIONAL CONVERTER ANALOG — DIGIT | |
SU913367A1 (en) | Device for comparing binary numbers | |
SU788109A1 (en) | Device for computing difference of two numbers | |
SU879585A1 (en) | Device for calculating difference of two numbers | |
SU769520A1 (en) | Information input-output arrangement | |
SU926655A1 (en) | Device for taking logs of numbers | |
SU1195360A1 (en) | Device for determining extreme points | |
SU370605A1 (en) | DEVICE FOR READING | |
SU855658A1 (en) | Digital device for computing functions | |
SU525249A1 (en) | Multi-decade decade counter | |
SU1425665A1 (en) | Digital logarithmic converter | |
SU1167608A1 (en) | Device for multiplying frequency by code | |
SU911521A1 (en) | Digital function generator | |
SU1113799A1 (en) | Device for extracting square root | |
SU970354A1 (en) | Converter of binarycode to angular valve binary coded decimals | |
SU1056188A1 (en) | Generator of random numbers with uniform distributing | |
SU888111A1 (en) | Sine-cosine function generator | |
SU407312A1 (en) | PRIORITY DEVICE FOR PERFORMED |