Subtraction function approximate calculation device based on random calculation

The invention discloses a subtraction function approximate calculation device based on random calculation. The device comprises an input shifting unit, a special value generating unit, a random numbergenerating unit, a logic gate unit and an output counting unit, the input shifting unit obtains an i...

Full description

Saved in:
Bibliographic Details
Main Authors DONG HONGXI, QIU YU'OU, PAN HONGBING, ZHENG MUHAN, QIN ZIDI, WANG YUXUAN
Format Patent
LanguageChinese
English
Published 17.07.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a subtraction function approximate calculation device based on random calculation. The device comprises an input shifting unit, a special value generating unit, a random numbergenerating unit, a logic gate unit and an output counting unit, the input shifting unit obtains an integer part p and a decimal part q which are obtained after the input independent variable x movesleftwards for m bits; the special value generation unit generates lambda and an approximate value through a logic mapping method, wherein the three random number generation units convert lambda and qinto random bit streams respectively, the logic gate unit performs bit-by-bit logic operation on the random bit streams through the NAND gate and the AND gate and outputs corresponding result bit streams, and the output counting unit is used for counting the number of 1 in the bit streams and converting the number of 1 into a binary real number to be output. According to the device, based on a random calculation and piecewi
Bibliography:Application Number: CN202010234266