Logarithmic converting method and device
A conversion method and conversion device technology, applied in the direction of electrical digital data processing, digital function generators, digital data processing components, etc., can solve the problems of expensive, difficult calculation in floating-point format, and inaccurate calculation of only the first number, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] FIG. 1 is a flow chart of an embodiment of the logarithmic conversion method of the present invention. The embodiment of the logarithmic conversion method is used in a digital processing unit for converting a number x to be processed into a logarithm L with a base b as the base. The logarithm L includes an initial number In and a mantissa Ma. The logarithmic transformation method represents all numbers in fixed-point format.
[0026] This embodiment of the logarithmic transformation method includes the following steps. An exact number k of digits required for the mantissa Ma is specified (step 101). A plurality of parameter tables is established by using the base number b, and the number of the plurality of parameter tables is equal to the exact digit k. The mth of the multiple parameter tables is for supply and demand to obtain the value of the mth digit whose mantissa Ma is below the decimal point. Each parameter table can have 10 items. The aforementioned establ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 