LOGARITHMIC CALCULATION METHOD AND LOGARITHMIC CALCULATION CIRCUIT

The present invention provides a logarithm calculation method, wherein the logarithm calculation method includes the steps of: (a) selecting a first parameter, a second parameter, a third parameter and a fourth parameter corresponding to an i-th iteration operation; (b) determining whether an input...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WU, YAN, ZHAO, BOYA, TANG, MINGZHE, QIU, DONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present invention provides a logarithm calculation method, wherein the logarithm calculation method includes the steps of: (a) selecting a first parameter, a second parameter, a third parameter and a fourth parameter corresponding to an i-th iteration operation; (b) determining whether an input value is greater than the third parameter or smaller than the fourth parameter (c) if the input value is greater than the third parameter, updating the input value by multiplying the first parameter, and updating an output value by subtracting a logarithmic value of the first parameter; if the input value is less than the fourth parameter, updating the input value by multiplying the second parameter, and updating the output value by subtracting a logarithmic value of the second parameter (d) adding one to 'i' and return to step (a); (e) when 'i' is equal to a predetermined value, outputting the current output value.